mirror of https://github.com/python/cpython.git
Correct error to PyRun_SimpleString macro introduced in AST merge.
This commit is contained in:
parent
5da5b5bd47
commit
f3ddaee9a0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue