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/copyreg.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/copyreg.rst')
-rw-r--r-- | Doc/library/copyreg.rst | 2 |
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 ... |