summaryrefslogtreecommitdiffstats
path: root/Tools/gdb
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-14 08:53:36 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-14 08:53:36 (GMT)
commitb0eb5da018785ca384679b990b8548338883c645 (patch)
tree058f4135b751a87029a81a53c0cf0a5390af1ecb /Tools/gdb
parent49b31d0a0bfbc1c4dc39b8f3178b00669524da10 (diff)
downloadcpython-b0eb5da018785ca384679b990b8548338883c645.zip
cpython-b0eb5da018785ca384679b990b8548338883c645.tar.gz
cpython-b0eb5da018785ca384679b990b8548338883c645.tar.bz2
Remove unused code that would raise a NameError.
Diffstat (limited to 'Tools/gdb')
-rw-r--r--Tools/gdb/libpython.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 6ed6087..0d59981 100644
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -55,7 +55,6 @@ SIZEOF_VOID_P = _type_void_ptr.sizeof
Py_TPFLAGS_HEAPTYPE = (1L << 9)
-Py_TPFLAGS_INT_SUBCLASS = (1L << 23)
Py_TPFLAGS_LONG_SUBCLASS = (1L << 24)
Py_TPFLAGS_LIST_SUBCLASS = (1L << 25)
Py_TPFLAGS_TUPLE_SUBCLASS = (1L << 26)
@@ -312,8 +311,6 @@ class PyObjectPtr(object):
if tp_flags & Py_TPFLAGS_HEAPTYPE:
return HeapTypeObjectPtr
- if tp_flags & Py_TPFLAGS_INT_SUBCLASS:
- return PyIntObjectPtr
if tp_flags & Py_TPFLAGS_LONG_SUBCLASS:
return PyLongObjectPtr
if tp_flags & Py_TPFLAGS_LIST_SUBCLASS: