mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Do not use explicit inheritance from object in the documentation. (GH-13936)
This commit is contained in:
parent
c879ff247a
commit
e042a4553e
3 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue