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

(cherry picked from commit 61f82e0e33)

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
This commit is contained in:
Miss Islington (bot) 2018-04-20 14:00:41 -07:00 committed by GitHub
parent b221107d32
commit 32955299b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)