Spelling fixes to docs, docstrings, and comments (GH-6374)

This commit is contained in:
Ville Skyttä 2018-04-20 23:08:45 +03:00 committed by Terry Jan Reedy
parent 0399cf9b5e
commit 61f82e0e33
15 changed files with 16 additions and 16 deletions

View file

@ -732,7 +732,7 @@ class _GenericAlias(_Final, _root=True):
return (self.__origin__,)
def __getattr__(self, attr):
# We are carefull for copy and pickle.
# We are careful for copy and pickle.
# Also for simplicity we just don't relay all dunder names
if '__origin__' in self.__dict__ and not _is_dunder(attr):
return getattr(self.__origin__, attr)