bpo-45104: Clarify when __init__ is called (GH-28210)

This commit is contained in:
Raymond Hettinger 2021-09-07 11:04:39 -05:00 committed by GitHub
parent fb305092a5
commit fa15df77f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 instances :meth:`__init__` method
instance of *cls*, then the new instances :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.