mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix typo in Lib/typing.py (GH-19717)
This commit is contained in:
parent
ef33712baa
commit
cfaf4c09ab
1 changed files with 1 additions and 1 deletions
|
@ -975,7 +975,7 @@ def _no_init(self, *args, **kwargs):
|
||||||
|
|
||||||
|
|
||||||
def _allow_reckless_class_cheks():
|
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
|
The abc and functools modules indiscriminately call isinstance() and
|
||||||
issubclass() on the whole MRO of a user class, which may contain protocols.
|
issubclass() on the whole MRO of a user class, which may contain protocols.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue