Fix typo in PEP 487

This commit is contained in:
Berker Peksag 2016-07-28 03:17:29 +03:00 committed by GitHub
parent 229ee06573
commit 07d557fedf
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ Initializing descriptors could simply be done in the
``__init_subclass__`` hook. But this would mean that descriptors can
only be used in classes that have the proper hook, the generic version
like in the example would not work generally. One could also call
``__set_name__`` from whithin the base implementation of
``__set_name__`` from within the base implementation of
``object.__init_subclass__``. But given that it is a common mistake
to forget to call ``super()``, it would happen too often that suddenly
descriptors are not initialized.