From cfaf4c09ab959a9e6d8fc446ba7595f132d770ac Mon Sep 17 00:00:00 2001 From: Nickolena Fisher Date: Sun, 26 Apr 2020 12:49:11 -0500 Subject: Fix typo in Lib/typing.py (GH-19717) --- Lib/typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/typing.py b/Lib/typing.py index 0dcf291..1b13aed 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. -- cgit v0.12