From f3ddaee9a04bd21160712dc184c03c86ec61b102 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Sun, 23 Oct 2005 10:53:06 +0000 Subject: [PATCH] Correct error to PyRun_SimpleString macro introduced in AST merge. --- Include/pythonrun.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 490613eb770..514d3bc8870 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -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)