We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57b149b commit a61318dCopy full SHA for a61318d
Lib/types.py
@@ -44,13 +44,13 @@ def _m(self): pass
44
45
ModuleType = type(sys)
46
47
-# try:
48
-# raise TypeError
49
-# except TypeError:
50
-# tb = sys.exc_info()[2]
51
-# TracebackType = type(tb)
52
-# FrameType = type(tb.tb_frame)
53
-# tb = None; del tb
+try:
+ raise TypeError
+except TypeError:
+ tb = sys.exc_info()[2]
+ TracebackType = type(tb)
+ FrameType = type(tb.tb_frame)
+ tb = None; del tb
54
55
# For Jython, the following two types are identical
56
GetSetDescriptorType = type(FunctionType.__code__)
0 commit comments