This commit is contained in:
Benjamin Peterson 2014-03-30 15:07:25 -04:00
commit ba6eba0850
1 changed files with 2 additions and 0 deletions

View File

@ -218,6 +218,8 @@ The :mod:`functools` module defines the following functions:
Example::
>>> class Cell(object):
... def __init__(self):
... self._alive = False
... @property
... def alive(self):
... return self._alive