diff options
author | Guido van Rossum <guido@python.org> | 1994-12-30 15:33:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-12-30 15:33:50 (GMT) |
commit | 66cb311fba7e824f11964090bce8b6b91f00d2e4 (patch) | |
tree | ec10c17a1a9e8b7526e8cd8f73578e269cc50740 /Include/rename1.h | |
parent | 31b7727bad6ba50feaf597a823c41c1a923e7855 (diff) | |
download | cpython-66cb311fba7e824f11964090bce8b6b91f00d2e4.zip cpython-66cb311fba7e824f11964090bce8b6b91f00d2e4.tar.gz cpython-66cb311fba7e824f11964090bce8b6b91f00d2e4.tar.bz2 |
Lots of small things, see ChangeLog
Diffstat (limited to 'Include/rename1.h')
-rwxr-xr-x | Include/rename1.h | 5 |
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 |