[issue26681] decorators for attributes

2016-03-31 Thread Matthias welp
New submission from Matthias welp: This is a suggestion, and not final. The current ways to define the getter and setter methods for an attribute are these two: @property def name(): """ Docstring """ pass @name.setter

[issue25603] spelling mistake - 26.1 typing

2015-11-11 Thread Matthias welp
New submission from Matthias welp: Almost at the end of the page, under Usage of Typing.NamedTuple(...), this code snippet occurs: `Employee = typing.NamedTuple('Employee', [('name', str), 'id', int)])`. Unfortunately, this has an error in its parenthesis. This can easily be fixed by adding