Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Lib/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ def _m(self): pass

ModuleType = type(sys)

from abc import ABC
class _D(ABC):
pass
ABCData = type(_D._abc_impl)

try:
raise TypeError
except TypeError:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add ABCData type to types module. Contributed by Batuhan Taskaya.