Created on 2005-03-28 13:05 by niekbouman, last changed 2005-03-28 18:48 by niekbouman. This issue is now closed.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2005-03-28 13:05:51 | niekbouman | create | |
Created on 2005-03-28 13:05 by niekbouman, last changed 2005-03-28 18:48 by niekbouman. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg24808 - (view) | Author: Niek (niekbouman) | Date: 2005-03-28 13:05 | |
Tutorial version:
Online, Current
Release 2.4
30 November 2004
Bug:
In section 9.3.4 Method Objects, the second code
example reads:
=========
xf = x.f
while True:
print xf()
=========
There should be parentheses after x.f
Suggested new version:
=========
xf = x.f()
while True:
print xf()
=========
|
|||
| msg24809 - (view) | Author: Martin v. Löwis (loewis) * ![]() |
Date: 2005-03-28 15:20 | |
Logged In: YES user_id=21627 Why do you think so? The documentation is correct as-is; the whole point of the paragraph is that the parentheses are omitted in the assignment to xf. |
|||
| msg24810 - (view) | Author: Niek (niekbouman) | Date: 2005-03-28 18:48 | |
Logged In: YES user_id=1247970 Oops, how stupid of me. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2005-03-28 13:05:51 | niekbouman | create | |