1
0
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:
Alex Gaynor
2012-05-05 09:54:30 -05:00
parent 208e26b39c
commit 1583d40224
4 changed files with 5 additions and 5 deletions

View File

@@ -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')