mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
[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 84ef33c511
)
Co-authored-by: Graham Bleaney <gbleaney@gmail.com>
This commit is contained in:
parent
1671b0e4e0
commit
6e770fc4fe
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ def _tp_cache(func):
|
||||||
|
|
||||||
|
|
||||||
def _eval_type(t, globalns, localns, recursive_guard=frozenset()):
|
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().
|
For use of globalns and localns see the docstring for get_type_hints().
|
||||||
recursive_guard is used to prevent prevent infinite recursion
|
recursive_guard is used to prevent prevent infinite recursion
|
||||||
with recursive ForwardRef.
|
with recursive ForwardRef.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue