summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2021-09-07 16:04:39 (GMT)
committerGitHub <noreply@github.com>2021-09-07 16:04:39 (GMT)
commitfa15df77f02ba4a66ba0b71989381a426038be01 (patch)
tree2ce4f3dbafb3bb0dad3f0df992959581fe5dc1e9 /Doc
parentfb305092a5d7894b41f122c1a1117b3abf4c567e (diff)
downloadcpython-fa15df77f02ba4a66ba0b71989381a426038be01.zip
cpython-fa15df77f02ba4a66ba0b71989381a426038be01.tar.gz
cpython-fa15df77f02ba4a66ba0b71989381a426038be01.tar.bz2
bpo-45104: Clarify when __init__ is called (GH-28210)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/datamodel.rst2
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.