Do not use explicit inheritance from object in the documentation. (GH-13936)

This commit is contained in:
Serhiy Storchaka 2019-06-10 13:35:52 +03:00 committed by GitHub
parent c879ff247a
commit e042a4553e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 14 deletions

View file

@ -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