[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:



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>

More information about the docs mailing list