Spelling fixes to docs, docstrings, and comments (GH-6374)
(cherry picked from commit 61f82e0e337f971da57f8f513abfe693edf95aa5)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
diff --git a/Lib/typing.py b/Lib/typing.py
index d45502f..8329607 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -732,7 +732,7 @@
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)