summaryrefslogtreecommitdiffstats
path: root/Modules/gcmodule.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-04 00:00:31 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-04 00:00:31 (GMT)
commit23683ef26d19581a61594c76a45af014c1ff7b13 (patch)
tree2b3f875d4b8359616777772cb7f557d969963e9d /Modules/gcmodule.c
parentcae969e70afd4e02d9543c3a18f089a1c66de982 (diff)
downloadcpython-23683ef26d19581a61594c76a45af014c1ff7b13.zip
cpython-23683ef26d19581a61594c76a45af014c1ff7b13.tar.gz
cpython-23683ef26d19581a61594c76a45af014c1ff7b13.tar.bz2
Issue #10333: Remove ancient GC API, which has been deprecated since
Python 2.2.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r--Modules/gcmodule.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index 432efb3..10a4ed7 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -1511,11 +1511,3 @@ PyObject_GC_Del(void *op)
}
PyObject_FREE(g);
}
-
-/* for binary compatibility with 2.2 */
-#undef _PyObject_GC_Del
-void
-_PyObject_GC_Del(PyObject *op)
-{
- PyObject_GC_Del(op);
-}