summaryrefslogtreecommitdiffstats
path: root/Include/rename2.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-05-22 16:30:09 (GMT)
committerGuido van Rossum <guido@python.org>1996-05-22 16:30:09 (GMT)
commit0578851964e76774ea299578d97267337f05e884 (patch)
treef2ffe66a1fb16ef4e1fb47edb03e4f4df394e21a /Include/rename2.h
parentf97632639e63ac4c3fa3d30f969764585d992aee (diff)
downloadcpython-0578851964e76774ea299578d97267337f05e884.zip
cpython-0578851964e76774ea299578d97267337f05e884.tar.gz
cpython-0578851964e76774ea299578d97267337f05e884.tar.bz2
Removed TRACE_REFS and REF_DEBUG b/w compat hacks -- they don't work.
Added defs for getbuiltindict, getbuiltinmod (bltinmodule.c).
Diffstat (limited to 'Include/rename2.h')
-rw-r--r--Include/rename2.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/Include/rename2.h b/Include/rename2.h
index eeee9be..078e347 100644
--- a/Include/rename2.h
+++ b/Include/rename2.h
@@ -52,14 +52,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define Anysequencetype PyAnySequence_Type
#define Anymappingtype PyAnyMapping_Type
-#ifdef Py_TRACE_REFS
-#define TRACE_REFS
-#endif
-
-#ifdef Py_REF_DEBUG
-#define REF_DEBUG
-#endif
-
#define FalseObject _Py_ZeroStruct
#define NoObject _Py_NoneStruct
#define TrueObject _Py_TrueStruct
@@ -349,6 +341,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define coerce PyNumber_Coerce
#define getbuiltin PyBuiltin_GetObject
#define initbuiltin PyBuiltin_Init
+#define getbuiltindict PyBuiltin_GetDict
+#define getbuiltinmod PyBuiltin_GetModule
#define initmarshal PyMarshal_Init
#define initmodule Py_InitModule
#define initmodule4 Py_InitModule4