commit | 3a4340325b153eab1f1bb1b91882d777fe6bcb21 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Mar 30 15:07:09 2014 -0400 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Mar 30 15:07:09 2014 -0400 |
tree | 1e66441ad47c1381337556fa1f088e0c01010451 | |
parent | a7fcd926e890f64ee427cf8890a6507c6b1342ef [diff] |
make partialmethod example work (closes #21105)
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index 77cd838..c46b799 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst
@@ -218,6 +218,8 @@ Example:: >>> class Cell(object): + ... def __init__(self): + ... self._alive = False ... @property ... def alive(self): ... return self._alive