summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2015-03-02 16:44:51 (GMT)
committerLarry Hastings <larry@hastings.org>2015-03-02 16:44:51 (GMT)
commit42fc0eb82712b1aa2890e5ee1c22be0bb7ddd83a (patch)
tree90ecb28fe70e8d15bc7c181449c6844fd2d7f1c0 /Objects/object.c
parent83d8fc265a962a4bdec76c34396a6eb83e961fcd (diff)
downloadcpython-42fc0eb82712b1aa2890e5ee1c22be0bb7ddd83a.zip
cpython-42fc0eb82712b1aa2890e5ee1c22be0bb7ddd83a.tar.gz
cpython-42fc0eb82712b1aa2890e5ee1c22be0bb7ddd83a.tar.bz2
Issue #21293: Remove unnecessary "capsule hack".
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 42cbbcd..c1d7a05 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1825,9 +1825,6 @@ _Py_GetObjects(PyObject *self, PyObject *args)
#endif
-/* Hack to force loading of pycapsule.o */
-PyTypeObject *_PyCapsule_hack = &PyCapsule_Type;
-
/* Hack to force loading of abstract.o */
Py_ssize_t (*_Py_abstract_hack)(PyObject *) = PyObject_Size;