You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/birkenfeld'closed_at=<Date2008-06-28.23:05:31.230>created_at=<Date2008-06-28.20:44:21.205>labels= ['docs']
title='Language reference, class definitions: missing text in "Programmer\'s note"'updated_at=<Date2008-06-28.23:05:31.229>user='https://bugs.python.org/oefe'
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.
"""
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: