summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Bleaney <gbleaney@gmail.com>2020-09-08 18:41:10 -0400
committerGitHub <noreply@github.com>2020-09-08 15:41:10 -0700
commit84ef33c5117acd9867781135a9aeb62052432e8a (patch)
tree096ff89f5501f272bbac22621e3f766d92fcba2e
parent3fd69991f47a6672c510fafd76bf183f17ac52ec (diff)
downloadcpython-git-84ef33c5117acd9867781135a9aeb62052432e8a.tar.gz
Fix typo in typing.py (GH-22121)
This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references
-rw-r--r--Lib/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typing.py b/Lib/typing.py
index fce8da4fe3..2899a0213d 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -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.