Skip to content

Commit

Permalink
Fix typo in PEP 487
Browse files Browse the repository at this point in the history
  • Loading branch information
berkerpeksag authored Jul 28, 2016
1 parent 229ee06 commit 07d557f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pep-0487.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 07d557f

Please sign in to comment.