
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2008-06-28 20:44 byoefe, last changed2022-04-11 14:56 byadmin. This issue is nowclosed.
| 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 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-definitionsIn 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)*![]() | Date: 2008-06-28 23:05 | |
Thanks fixed inr64581. | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:35 | admin | set | github: 47479 |
| 2008-06-28 23:05:31 | benjamin.peterson | set | status: open -> closed nosy: +benjamin.peterson resolution: fixed messages: +msg68923 |
| 2008-06-28 20:44:21 | oefe | create | |