]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
add missing parens - verified w/ interpreter - sorry to dismiss your comment
authorSkip Montanaro <skip@pobox.com>
Wed, 7 May 2003 16:01:43 +0000 (16:01 +0000)
committerSkip Montanaro <skip@pobox.com>
Wed, 7 May 2003 16:01:43 +0000 (16:01 +0000)
Fred

Doc/tut/tut.tex

index a60d442b70e9e277174d4a8d895ae7f6f0c61fda..d57d89a26a56ee01d6a29b371c293d810fe4ce84 100644 (file)
@@ -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')`