summaryrefslogtreecommitdiffstats
path: root/Doc/library/copyreg.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/copyreg.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/copyreg.rst')
-rw-r--r--Doc/library/copyreg.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/copyreg.rst b/Doc/library/copyreg.rst
index 40fca56..4392021 100644
--- a/Doc/library/copyreg.rst
+++ b/Doc/library/copyreg.rst
@@ -49,7 +49,7 @@ The example below would like to show how to register a pickle function and how
it will be used:
>>> import copyreg, copy, pickle
- >>> class C(object):
+ >>> class C:
... def __init__(self, a):
... self.a = a
...