From: Nickolena Fisher Date: Sun, 26 Apr 2020 17:49:11 +0000 (-0500) Subject: Fix typo in Lib/typing.py (GH-19717) X-Git-Tag: v3.9.0a6~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cfaf4c09ab959a9e6d8fc446ba7595f132d770ac;p=thirdparty%2FPython%2Fcpython.git Fix typo in Lib/typing.py (GH-19717) --- diff --git a/Lib/typing.py b/Lib/typing.py index 0dcf291950f7..1b13aed22a38 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.