[New-bugs-announce] [issue3229] Language reference, class definitions: missing text in "Programmer's note"
Martina Oefelein
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".
See:
http://docs.python.org/dev/3.0/reference/compound_stmts.html#class-
definitions
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.
"""
----------
assignee: georg.brandl
components: Documentation
messages: 68908
nosy: georg.brandl, oefe
severity: normal
status: open
title: Language reference, class definitions: missing text in "Programmer's note"
versions: Python 3.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3229>
_______________________________________
More information about the New-bugs-announce
mailing list