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

(cherry picked from commit fa15df77f0)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2021-09-07 09:27:28 -07:00 committed by GitHub
parent 9ad2184d67
commit b1f2fe777e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1205,7 +1205,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.