Kaydet (Commit) 8cd0b383 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Typo. Doh!

üst 833ad0ee
...@@ -1886,7 +1886,7 @@ object. The former returns a string and the latter prints it:: ...@@ -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 In addition, the :func:`~dis.dis` function now accepts string arguments
so that the common idiom ``dis(compile(s, '', 'eval'))`` can be shortened 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') >>> dis('3*x+1 if x%2==1 else x//2')
1 0 LOAD_NAME 0 (x) 1 0 LOAD_NAME 0 (x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment