summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2005-10-23 10:53:06 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2005-10-23 10:53:06 (GMT)
commitf3ddaee9a04bd21160712dc184c03c86ec61b102 (patch)
treedc73f100e44bebb3769116fc778c565fe81bbc9e
parent5da5b5bd47f6e3508ff797182e1220c15fdaec12 (diff)
downloadcpython-f3ddaee9a04bd21160712dc184c03c86ec61b102.zip
cpython-f3ddaee9a04bd21160712dc184c03c86ec61b102.tar.gz
cpython-f3ddaee9a04bd21160712dc184c03c86ec61b102.tar.bz2
Correct error to PyRun_SimpleString macro introduced in AST merge.
-rw-r--r--Include/pythonrun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 490613e..514d3bc 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)