Message212421
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. |
|
Date |
User |
Action |
Args |
2014-02-28 11:59:00 | Andesheng | set | recipients:
+ Andesheng |
2014-02-28 11:59:00 | Andesheng | set | messageid: <1393588740.3.0.309738412893.issue20805@psf.upfronthosting.co.za> |
2014-02-28 11:59:00 | Andesheng | link | issue20805 messages |
2014-02-28 11:58:58 | Andesheng | create | |
|