summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-02-07 04:00:24 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-02-07 04:00:24 (GMT)
commit8cd0b38392994c5af7d9bd430c149bdd3a0f9a6d (patch)
tree895912c29cb26c14ddc85cdbe1cb9559f8365d66 /Doc/whatsnew
parent833ad0eede663344732e89291619923183c1912c (diff)
downloadcpython-8cd0b38392994c5af7d9bd430c149bdd3a0f9a6d.zip
cpython-8cd0b38392994c5af7d9bd430c149bdd3a0f9a6d.tar.gz
cpython-8cd0b38392994c5af7d9bd430c149bdd3a0f9a6d.tar.bz2
Typo. Doh!
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.2.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 4b4bbed..976352d 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -1886,7 +1886,7 @@ object. The former returns a string and the latter prints it::
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)