Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba6eba0

Browse files
committed
merge 3.4 (#21105)
2 parents 6e50ccd + 3a43403 commit ba6eba0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/library/functools.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ The :mod:`functools` module defines the following functions:
218218
Example::
219219

220220
>>> class Cell(object):
221+
... def __init__(self):
222+
... self._alive = False
221223
... @property
222224
... def alive(self):
223225
... return self._alive

0 commit comments

Comments
 (0)