diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-09-07 16:21:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 16:21:23 (GMT) |
commit | 5a42a49477cd601d67d81483f9589258dccb14b1 (patch) | |
tree | 9b70553acad8c70420d6d06d64e3f1406dad134a /Doc | |
parent | 8c3a10e58b12608c3759fee684e7aa399facae2a (diff) | |
download | cpython-5a42a49477cd601d67d81483f9589258dccb14b1.zip cpython-5a42a49477cd601d67d81483f9589258dccb14b1.tar.gz cpython-5a42a49477cd601d67d81483f9589258dccb14b1.tar.bz2 |
bpo-45104: Clarify when __init__ is called (GH-28210) (GH-28213)
(cherry picked from commit fa15df77f02ba4a66ba0b71989381a426038be01)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index bf391ef..20d6e32 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1200,7 +1200,7 @@ Basic customization as necessary before returning it. If :meth:`__new__` is invoked during object construction and it returns an - instance or subclass of *cls*, then the new instance’s :meth:`__init__` method + instance of *cls*, then the new instance’s :meth:`__init__` method will be invoked like ``__init__(self[, ...])``, where *self* is the new instance and the remaining arguments are the same as were passed to the object constructor. |