]> granicus.if.org Git - python/commitdiff
Correct error to PyRun_SimpleString macro introduced in AST merge.
authorMark Hammond <mhammond@skippinet.com.au>
Sun, 23 Oct 2005 10:53:06 +0000 (10:53 +0000)
committerMark Hammond <mhammond@skippinet.com.au>
Sun, 23 Oct 2005 10:53:06 +0000 (10:53 +0000)
Include/pythonrun.h

index 490613eb770d005a33d6e48061155dbd88eb2816..514d3bc8870bbf18a0ee51b0c398dacfdf0e4eb6 100644 (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)