This commit is contained in:
wim glenn 2020-03-29 14:11:00 -05:00 committed by GitHub
parent cfe6639a6d
commit a87b19e16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ When it's desired to also call the hook on the base class, two mechanisms are av
``__init_subclass__``.
Calling ``__init_subclass__`` explicitly from a class decorator will generally be
undesirable, as this will also typically call ``__subclass_init__`` a second time on
undesirable, as this will also typically call ``__init_subclass__`` a second time on
the parent class, which is unlikely to be desired behaviour.
Other variants of calling the hooks