[issue3229] Language reference, class definitions: missing text in "Programmer's note"
report at bugs.python.org
Sat Jun 28 22:44:22 CEST 2008
New submission from Martina Oefelein <Martina at oefelein.de>:
In the language reference, compound statements, class definitions:
Programmer’s note: Variables defined in the class definition are class can
be set in a method with self.name = value.
This sentence doesn't is not even grammatically valid. It seems that there
is something missing after "are class".
In 2.5, the corresponding text is:
Programmer's note: Variables defined in the class definition are class
variables; they are shared by all instances. To define instance variables,
they must be given a value in the __init__() method or in another method.
nosy: georg.brandl, oefe
title: Language reference, class definitions: missing text in "Programmer's note"
versions: Python 3.0
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list