Thanks to visit codestin.com Credit goes to github.com
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 49b31d0 commit b0eb5daCopy full SHA for b0eb5da
1 file changed
Tools/gdb/libpython.py
@@ -55,7 +55,6 @@
55
56
Py_TPFLAGS_HEAPTYPE = (1L << 9)
57
58
-Py_TPFLAGS_INT_SUBCLASS = (1L << 23)
59
Py_TPFLAGS_LONG_SUBCLASS = (1L << 24)
60
Py_TPFLAGS_LIST_SUBCLASS = (1L << 25)
61
Py_TPFLAGS_TUPLE_SUBCLASS = (1L << 26)
@@ -312,8 +311,6 @@ def subclass_from_type(cls, t):
312
311
if tp_flags & Py_TPFLAGS_HEAPTYPE:
313
return HeapTypeObjectPtr
314
315
- if tp_flags & Py_TPFLAGS_INT_SUBCLASS:
316
- return PyIntObjectPtr
317
if tp_flags & Py_TPFLAGS_LONG_SUBCLASS:
318
return PyLongObjectPtr
319
if tp_flags & Py_TPFLAGS_LIST_SUBCLASS:
0 commit comments