Correct error to PyRun_SimpleString macro introduced in AST merge.

This commit is contained in:
Mark Hammond 2005-10-23 10:53:06 +00:00
parent 5da5b5bd47
commit f3ddaee9a0
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ PyAPI_FUNC(int) Py_Main(int argc, char **argv);
PyRun_AnyFileExFlags(fp, name, closeit, NULL)
#define PyRun_AnyFileFlags(fp, name, flags) \
PyRun_AnyFileExFlags(fp, name, 0, flags)
#define PyRun_SimpleString(s, f) PyRunSimpleStringFlags(s, f, NULL)
#define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL)
#define PyRun_SimpleFile(f, p) PyRun_SimpleFileExFlags(f, p, 0, NULL)
#define PyRun_SimpleFileEx(f, p, c) PyRun_SimpleFileExFlags(f, p, c, NULL)
#define PyRun_InteractiveOne(f, p) PyRun_InteractiveOneFlags(f, p, NULL)