mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +00:00
Backport doco
This commit is contained in:
parent
08c496d81d
commit
665a3ae0af
1 changed files with 1 additions and 1 deletions
|
|
@ -479,7 +479,7 @@ def localcontext(ctx=None):
|
|||
return +s # Convert result to normal context
|
||||
|
||||
"""
|
||||
# The below can't be included in the docstring until Python 2.6
|
||||
# The string below can't be included in the docstring until Python 2.6
|
||||
# as the doctest module doesn't understand __future__ statements
|
||||
"""
|
||||
>>> from __future__ import with_statement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue