[issue20805] Error in 3.3 Tutorial

2014-02-28 Thread Gene Anderson

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 
<http://bugs.python.org/issue20805>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20805] Error in 3.3 Tutorial

2014-02-28 Thread Gene Anderson

Gene Anderson added the comment:

I failed to mention that the associated web address for the documentation is:

http://docs.python.org/3.3/tutorial/classes.html#method-objects

--

___
Python tracker 
<http://bugs.python.org/issue20805>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com