mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed the syntax used for the Python repl examples in docs and docstrings.
This commit is contained in:
@@ -10,8 +10,8 @@ Example Usage::
|
||||
|
||||
>>> from django.core.files import locks
|
||||
>>> with open('./file', 'wb') as f:
|
||||
>>> locks.lock(f, locks.LOCK_EX)
|
||||
>>> f.write('Django')
|
||||
... locks.lock(f, locks.LOCK_EX)
|
||||
... f.write('Django')
|
||||
"""
|
||||
|
||||
__all__ = ('LOCK_EX','LOCK_SH','LOCK_NB','lock','unlock')
|
||||
|
||||
Reference in New Issue
Block a user