From 42fc0eb82712b1aa2890e5ee1c22be0bb7ddd83a Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Mon, 2 Mar 2015 08:44:51 -0800 Subject: [PATCH] Issue #21293: Remove unnecessary "capsule hack". --- Objects/object.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Objects/object.c b/Objects/object.c index 42cbbcd33fa..c1d7a05e41c 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;