]> 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:02:06 +0000 (16:02 +0000)
committerSkip Montanaro <skip@pobox.com>
Wed, 7 May 2003 16:02:06 +0000 (16:02 +0000)
Fred

Doc/tut/tut.tex

index e39a47a5166d8a0385a23868c4c32252da80d51a..cba0a8e98bb9b0dc58e9e7188ae34ed238845d07 100644 (file)
@@ -2785,7 +2785,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')`