SF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macro

This commit is contained in:
Neal Norwitz 2006-08-19 04:25:29 +00:00
parent 9b17eba8be
commit 8a26706d75
2 changed files with 4 additions and 5 deletions

View File

@ -22,7 +22,7 @@ PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevel(char *name,
PyAPI_FUNC(PyObject *) PyImport_ImportModuleEx( PyAPI_FUNC(PyObject *) PyImport_ImportModuleEx(
char *name, PyObject *globals, PyObject *locals, PyObject *fromlist); char *name, PyObject *globals, PyObject *locals, PyObject *fromlist);
#define PyImport_ImportModuleEx(n, g, l, f) \ #define PyImport_ImportModuleEx(n, g, l, f) \
PyImport_ImportModuleLevel(n, g, l, f, -1); PyImport_ImportModuleLevel(n, g, l, f, -1)
PyAPI_FUNC(PyObject *) PyImport_Import(PyObject *name); PyAPI_FUNC(PyObject *) PyImport_Import(PyObject *name);
PyAPI_FUNC(PyObject *) PyImport_ReloadModule(PyObject *m); PyAPI_FUNC(PyObject *) PyImport_ReloadModule(PyObject *m);

View File

@ -43,6 +43,9 @@ Build
C API C API
----- -----
- Bug #1542693: remove semi-colon at end of PyImport_ImportModuleEx macro
so it can be used as an expression.
Mac Mac
--- ---
@ -211,10 +214,6 @@ C API
is always 1 (normal) or 0 (if the specified thread wasn't found). is always 1 (normal) or 0 (if the specified thread wasn't found).
Mac
---
What's New in Python 2.5 beta 3? What's New in Python 2.5 beta 3?
================================ ================================