diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2021-09-07 16:04:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 16:04:39 (GMT) |
commit | fa15df77f02ba4a66ba0b71989381a426038be01 (patch) | |
tree | 2ce4f3dbafb3bb0dad3f0df992959581fe5dc1e9 /Doc/reference/datamodel.rst | |
parent | fb305092a5d7894b41f122c1a1117b3abf4c567e (diff) | |
download | cpython-fa15df77f02ba4a66ba0b71989381a426038be01.zip cpython-fa15df77f02ba4a66ba0b71989381a426038be01.tar.gz cpython-fa15df77f02ba4a66ba0b71989381a426038be01.tar.bz2 |
bpo-45104: Clarify when __init__ is called (GH-28210)
Diffstat (limited to 'Doc/reference/datamodel.rst')
-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 46d9c3a..bf3f508 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1272,7 +1272,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. |