]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in typing.py (GH-22121)
authorGraham Bleaney <gbleaney@gmail.com>
Tue, 8 Sep 2020 22:41:10 +0000 (18:41 -0400)
committerGitHub <noreply@github.com>
Tue, 8 Sep 2020 22:41:10 +0000 (15:41 -0700)
This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references

Lib/typing.py

index fce8da4fe3cf05d6e7e229a4073898833ba2abc2..2899a0213d434078914497f42ceac7a56b9f4f97 100644 (file)
@@ -245,7 +245,7 @@ def _tp_cache(func):
 
 
 def _eval_type(t, globalns, localns, recursive_guard=frozenset()):
-    """Evaluate all forward reverences in the given type t.
+    """Evaluate all forward references in the given type t.
     For use of globalns and localns see the docstring for get_type_hints().
     recursive_guard is used to prevent prevent infinite recursion
     with recursive ForwardRef.