[docs] [issue13352] tutorial section 9.3.3 documentation problem

Eli Bendersky report at bugs.python.org
Sun Nov 6 04:21:38 CET 2011


New submission from Eli Bendersky <eliben at gmail.com>:

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 contain "counter" attribute.

"x.counter = 1
while x.counter < 10:
   x.counter = x.counter * 2
print x.counter
del x.counter"

Best Regards,
Jussi Peltonen

----------
assignee: docs at python
components: Documentation
keywords: easy
messages: 147137
nosy: docs at python, eli.bendersky
priority: normal
severity: normal
status: open
title: tutorial section 9.3.3 documentation problem
versions: Python 2.7

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


More information about the docs mailing list