[Python-checkins] r88361 - python/branches/py3k/Doc/whatsnew/3.2.rst
raymond.hettinger
python-checkins at python.org
Mon Feb 7 05:00:24 CET 2011
Author: raymond.hettinger
Date: Mon Feb 7 05:00:24 2011
New Revision: 88361
Log:
Typo. Doh!
Modified:
python/branches/py3k/Doc/whatsnew/3.2.rst
Modified: python/branches/py3k/Doc/whatsnew/3.2.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.2.rst (original)
+++ python/branches/py3k/Doc/whatsnew/3.2.rst Mon Feb 7 05:00:24 2011
@@ -1886,7 +1886,7 @@
In addition, the :func:`~dis.dis` function now accepts string arguments
so that the common idiom ``dis(compile(s, '', 'eval'))`` can be shortened
-to ``dis(compile(s))``::
+to ``dis(s)``::
>>> dis('3*x+1 if x%2==1 else x//2')
1 0 LOAD_NAME 0 (x)
More information about the Python-checkins
mailing list