[Python-checkins] [3.8] Fix typo in typing.py (GH-22121) (GH-22158)
Mariatta
webhook-mailer at python.org
Tue Sep 15 02:26:57 EDT 2020
https://github.com/python/cpython/commit/7799dd38e78c800537569ef501a5b8daa03500cd
commit: 7799dd38e78c800537569ef501a5b8daa03500cd
branch: 3.8
author: Mariatta <Mariatta at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-09-08T16:28:02-07:00
summary:
[3.8] Fix typo in typing.py (GH-22121) (GH-22158)
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 at gmail.com>
Automerge-Triggered-By: @Mariatta
files:
M Lib/typing.py
diff --git a/Lib/typing.py b/Lib/typing.py
index 589eea98ad31c..4ec538da00a60 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -263,7 +263,7 @@ def inner(*args, **kwds):
def _eval_type(t, globalns, localns):
- """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().
"""
if isinstance(t, ForwardRef):
More information about the Python-checkins
mailing list