diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-06-10 10:35:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-10 10:35:52 (GMT) |
commit | e042a4553efd0ceca2234f68a4f1878f2ca04973 (patch) | |
tree | 11a8aea14674b736119106392734dcabc5322745 /Doc/library/functools.rst | |
parent | c879ff247ae1b67a790ff98d2d59145302cd4e4e (diff) | |
download | cpython-e042a4553efd0ceca2234f68a4f1878f2ca04973.zip cpython-e042a4553efd0ceca2234f68a4f1878f2ca04973.tar.gz cpython-e042a4553efd0ceca2234f68a4f1878f2ca04973.tar.bz2 |
Do not use explicit inheritance from object in the documentation. (GH-13936)
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r-- | Doc/library/functools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index 3a0b554..d3debac 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -275,7 +275,7 @@ The :mod:`functools` module defines the following functions: Example:: - >>> class Cell(object): + >>> class Cell: ... def __init__(self): ... self._alive = False ... @property |