[Python-checkins] Fix typo in Lib/typing.py (GH-19717)

Nickolena Fisher webhook-mailer at python.org
Sun Apr 26 13:49:18 EDT 2020


https://github.com/python/cpython/commit/cfaf4c09ab959a9e6d8fc446ba7595f132d770ac
commit: cfaf4c09ab959a9e6d8fc446ba7595f132d770ac
branch: master
author: Nickolena Fisher <ndfishe at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-04-26T10:49:11-07:00
summary:

Fix typo in Lib/typing.py (GH-19717)

files:
M Lib/typing.py

diff --git a/Lib/typing.py b/Lib/typing.py
index 0dcf291950f7d..1b13aed22a38c 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -975,7 +975,7 @@ def _no_init(self, *args, **kwargs):
 
 
 def _allow_reckless_class_cheks():
-    """Allow instnance and class checks for special stdlib modules.
+    """Allow instance and class checks for special stdlib modules.
 
     The abc and functools modules indiscriminately call isinstance() and
     issubclass() on the whole MRO of a user class, which may contain protocols.



More information about the Python-checkins mailing list