summaryrefslogtreecommitdiffstats
path: root/Doc/tut
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-05-07 16:01:43 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-05-07 16:01:43 (GMT)
commit45a9c932360c5d463b68aa0af7911e865ec3d5ef (patch)
tree58c8fb9014a9b718755b54510d4c7fab1a02bbaa /Doc/tut
parent50727728b9d101f1c33f5f45e403a2a86492e422 (diff)
downloadcpython-45a9c932360c5d463b68aa0af7911e865ec3d5ef.zip
cpython-45a9c932360c5d463b68aa0af7911e865ec3d5ef.tar.gz
cpython-45a9c932360c5d463b68aa0af7911e865ec3d5ef.tar.bz2
add missing parens - verified w/ interpreter - sorry to dismiss your comment
Fred
Diffstat (limited to 'Doc/tut')
-rw-r--r--Doc/tut/tut.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index a60d442..d57d89a 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -2803,7 +2803,7 @@ The value of x is 32.5, and y is 40000...
>>> print hellos
'hello, world\n'
>>> # The argument to repr() may be any Python object:
-... repr(x, y, ('spam', 'eggs'))
+... repr((x, y, ('spam', 'eggs')))
"(32.5, 40000, ('spam', 'eggs'))"
>>> # reverse quotes are convenient in interactive sessions:
... `x, y, ('spam', 'eggs')`