summaryrefslogtreecommitdiffstats
path: root/Include/rename1.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-12-30 15:33:50 (GMT)
committerGuido van Rossum <guido@python.org>1994-12-30 15:33:50 (GMT)
commit66cb311fba7e824f11964090bce8b6b91f00d2e4 (patch)
treeec10c17a1a9e8b7526e8cd8f73578e269cc50740 /Include/rename1.h
parent31b7727bad6ba50feaf597a823c41c1a923e7855 (diff)
downloadcpython-66cb311fba7e824f11964090bce8b6b91f00d2e4.zip
cpython-66cb311fba7e824f11964090bce8b6b91f00d2e4.tar.gz
cpython-66cb311fba7e824f11964090bce8b6b91f00d2e4.tar.bz2
Lots of small things, see ChangeLog
Diffstat (limited to 'Include/rename1.h')
-rwxr-xr-xInclude/rename1.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/rename1.h b/Include/rename1.h
index 4f2bef7..f271c44 100755
--- a/Include/rename1.h
+++ b/Include/rename1.h
@@ -114,7 +114,7 @@ typedef struct methodlist PyMethodDef;
#define PyMappingMethods mapping_methods
#define PyObject_HEAD OB_HEAD
#define PyObject_VAR_HEAD OB_VARHEAD
-#define PyObject_HEAD_INIT OB_HEAD_INIT
+#define PyObject_HEAD_INIT(x) OB_HEAD_INIT(x)
#define PyObject_NEW NEWOBJ
#define PyObject_NEW_VAR NEWVAROBJ
#define Py_PROTO PROTO
@@ -345,7 +345,8 @@ typedef struct methodlist PyMethodDef;
#define PyErr_SetString err_setstr
#define PyErr_SetObject err_setval
#define PyErr_Occurred err_occurred
-#define PyErr_GetAndClear err_get
+#define PyErr_Fetch err_fetch
+#define PyErr_Restore err_restore
#define PyErr_Clear err_clear
#define PyOS_InterruptableGetString fgets_intr
#define PyOS_InitInterrupts initintr