mirror of
https://github.com/python/cpython.git
synced 2025-10-05 22:51:56 +00:00
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:
parent
b221107d32
commit
32955299b4
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