[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Eli Bendersky
Eli Bendersky added the comment: Yep, I agree, Ori. The paragraph immediately preceding the code sample says: "Data attributes need not be declared; like local variables, they spring into existence when they are first assigned to [...] the following piece of code will print the value 16,

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Ori Livneh
Ori Livneh added the comment: That's exactly the point: in Python, data attributes don't need to be declared in the class definition. -- nosy: +ori.livneh ___ Python tracker __

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Eli Bendersky
New submission from Eli Bendersky : User report on the docs@ list: - http://docs.python.org/tutorial/classes.html#instance-objects I think the "counter" attribute is mentioned for the first time in the example code, not "in Instance of MyClass created above", i.e. class MyClass does not co