diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-09-08 23:36:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 23:36:07 (GMT) |
commit | 6e770fc4fe511a3b40169307c91e9093c90f7eef (patch) | |
tree | e152c128784b1e4e4a0892aae6772bf6b8503cda | |
parent | 1671b0e4e00061f23b6677e37e27a4ed44998329 (diff) | |
download | cpython-6e770fc4fe511a3b40169307c91e9093c90f7eef.zip cpython-6e770fc4fe511a3b40169307c91e9093c90f7eef.tar.gz cpython-6e770fc4fe511a3b40169307c91e9093c90f7eef.tar.bz2 |
[3.9] Fix typo in typing.py (GH-22121) (GH-22156)
This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references
(cherry picked from commit 84ef33c5117acd9867781135a9aeb62052432e8a)
Co-authored-by: Graham Bleaney <gbleaney@gmail.com>
-rw-r--r-- | Lib/typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typing.py b/Lib/typing.py index 5da032b..39c956d 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. |