Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42fc0eb

Browse files
committed
Issue #21293: Remove unnecessary "capsule hack".
1 parent 83d8fc2 commit 42fc0eb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Objects/object.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1825,9 +1825,6 @@ _Py_GetObjects(PyObject *self, PyObject *args)
18251825

18261826
#endif
18271827

1828-
/* Hack to force loading of pycapsule.o */
1829-
PyTypeObject *_PyCapsule_hack = &PyCapsule_Type;
1830-
18311828

18321829
/* Hack to force loading of abstract.o */
18331830
Py_ssize_t (*_Py_abstract_hack)(PyObject *) = PyObject_Size;

0 commit comments

Comments
 (0)