summaryrefslogtreecommitdiffstats
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-06-10 10:35:52 (GMT)
committerGitHub <noreply@github.com>2019-06-10 10:35:52 (GMT)
commite042a4553efd0ceca2234f68a4f1878f2ca04973 (patch)
tree11a8aea14674b736119106392734dcabc5322745 /Doc/library/functools.rst
parentc879ff247ae1b67a790ff98d2d59145302cd4e4e (diff)
downloadcpython-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.rst2
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