Title: Language reference, class definitions: missing text in "Programmer's note"
Type: Stage:
Components: Documentation Versions: Python 3.0
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: benjamin.peterson, georg.brandl, oefe
Priority: normal Keywords:

Created on 2008-06-28 20:44 by oefe, last changed 2008-06-28 23:05 by benjamin.peterson. This issue is now closed.

Messages (2)
msg68908 - (view) Author: Martina Oefelein (oefe) Date: 2008-06-28 20:44
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 = 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.
msg68923 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-06-28 23:05
Thanks fixed in r64581.
Date User Action Args
2008-06-28 23:05:31benjamin.petersonsetstatus: open -> closed
nosy: + benjamin.peterson
resolution: fixed
messages: + msg68923
2008-06-28 20:44:21oefecreate