mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
merge 3.4 (#21105)
This commit is contained in:
commit
ba6eba0850
1 changed files with 2 additions and 0 deletions
|
@ -218,6 +218,8 @@ The :mod:`functools` module defines the following functions:
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
>>> class Cell(object):
|
>>> class Cell(object):
|
||||||
|
... def __init__(self):
|
||||||
|
... self._alive = False
|
||||||
... @property
|
... @property
|
||||||
... def alive(self):
|
... def alive(self):
|
||||||
... return self._alive
|
... return self._alive
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue