Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 301 Bytes

2021-05-12-16-43-21.bpo-38908.nM2_rO.rst

File metadata and controls

5 lines (5 loc) · 301 Bytes

Fix issue where :mod:`typing` protocols without the @runtime_checkable decorator did not raise a TypeError when used with issubclass and isinstance. Now, subclassses of typing.Protocol will raise a TypeError when used with with those checks. Patch provided by Yurii Karabas.