summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
diff options
context:
space:
mode:
authorGraham Bleaney <gbleaney@gmail.com>2020-09-08 22:41:10 (GMT)
committerGitHub <noreply@github.com>2020-09-08 22:41:10 (GMT)
commit84ef33c5117acd9867781135a9aeb62052432e8a (patch)
tree096ff89f5501f272bbac22621e3f766d92fcba2e /Lib/typing.py
parent3fd69991f47a6672c510fafd76bf183f17ac52ec (diff)
downloadcpython-84ef33c5117acd9867781135a9aeb62052432e8a.zip
cpython-84ef33c5117acd9867781135a9aeb62052432e8a.tar.gz
cpython-84ef33c5117acd9867781135a9aeb62052432e8a.tar.bz2
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
Diffstat (limited to 'Lib/typing.py')
-rw-r--r--Lib/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typing.py b/Lib/typing.py
index fce8da4..2899a02 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.