mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Spelling fixes to docs, docstrings, and comments (GH-6374)
This commit is contained in:
parent
0399cf9b5e
commit
61f82e0e33
15 changed files with 16 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue