Skip to content

Commit fa15df7

Browse files
authored
bpo-45104: Clarify when __init__ is called (GH-28210)
1 parent fb30509 commit fa15df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ Basic customization
12721272
as necessary before returning it.
12731273

12741274
If :meth:`__new__` is invoked during object construction and it returns an
1275-
instance or subclass of *cls*, then the new instance’s :meth:`__init__` method
1275+
instance of *cls*, then the new instance’s :meth:`__init__` method
12761276
will be invoked like ``__init__(self[, ...])``, where *self* is the new instance
12771277
and the remaining arguments are the same as were passed to the object constructor.
12781278

0 commit comments

Comments
 (0)