[New-bugs-announce] [issue20805] Error in 3.3 Tutorial

Gene Anderson report at bugs.python.org
Fri Feb 28 12:59:00 CET 2014


New submission from Gene Anderson:

In the tutorial for Python 3.3 the content for 9.3.4 Method Objects seems to have an error.  In the following lines:

xf = x.f
while True:
    print(xf())

... it seems to me that based on the x object's method f(), the command should be 

    print(x.f())

At least it did when I tried to run it without the endless loop.  I'm pretty new at this Python stuff, though, so I could be wrong.

----------
messages: 212421
nosy: Andesheng
priority: normal
severity: normal
status: open
title: Error in 3.3 Tutorial
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20805>
_______________________________________


More information about the New-bugs-announce mailing list