summaryrefslogtreecommitdiff
path: root/Objects/object.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2015-03-02 08:44:51 -0800
committerLarry Hastings <larry@hastings.org>2015-03-02 08:44:51 -0800
commit47c4cc92f10093cebc69c304c75ebdb81adc46c9 (patch)
tree0d8dcd236ed9a2b9b43c2366ed49c6a25ac5330c /Objects/object.c
parenta1cd692506a3c0d0089b0b7a895689785d9e9593 (diff)
downloadcpython-47c4cc92f10093cebc69c304c75ebdb81adc46c9.tar.gz
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 42cbbcd33f..c1d7a05e41 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;