summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-04-24 13:16:36 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-04-24 13:16:36 (GMT)
commit19dfa3e71a79c33a1060826f39ac2c6c990dd19d (patch)
treeb96ee1dfe7137bce8024626eb96875da59305bf0 /Include
parent5169891d549d16983a75cc81a45c2238fcc78ead (diff)
downloadcpython-19dfa3e71a79c33a1060826f39ac2c6c990dd19d.zip
cpython-19dfa3e71a79c33a1060826f39ac2c6c990dd19d.tar.gz
cpython-19dfa3e71a79c33a1060826f39ac2c6c990dd19d.tar.bz2
Remove Py_Refcnt, Py_Type, Py_Size, as they were added only
for backwards compatibility, yet 2.5 did not have them at all.
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Include/object.h b/Include/object.h
index 6ec3cbf..4bbcf00 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -115,11 +115,6 @@ typedef struct {
#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
-/* B/w compatibility */
-#define Py_Refcnt(ob) Py_REFCNT(op)
-#define Py_Type(op) Py_TYPE(op)
-#define Py_Size(op) Py_SIZE(op)
-
/*
Type objects contain a string containing the type name (to help somewhat
in debugging), the allocation parameters (see PyObject_New() and