diff options
author | Eli Bendersky <eliben@gmail.com> | 2012-06-03 05:07:47 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2012-06-03 05:07:47 (GMT) |
commit | 0813168e942a81c03727ef4785dceb642b959f20 (patch) | |
tree | 848d9ccbdea7f9f474b23319255973195c7d0021 /Include/pythonrun.h | |
parent | 11cfea92950eda064e9b5b7048c1951bb084fc43 (diff) | |
download | cpython-0813168e942a81c03727ef4785dceb642b959f20.zip cpython-0813168e942a81c03727ef4785dceb642b959f20.tar.gz cpython-0813168e942a81c03727ef4785dceb642b959f20.tar.bz2 |
Issue #14090: fix some minor C API problems in default branch (3.3)
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r-- | Include/pythonrun.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 48e39a4..e5620ee 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -82,9 +82,12 @@ PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile( PyParser_SimpleParseFileFlags(FP, S, B, 0) #endif PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int, - int); + int); +PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlagsFilename(const char *, + const char *, + int, int); PyAPI_FUNC(struct _node *) PyParser_SimpleParseFileFlags(FILE *, const char *, - int, int); + int, int); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *, |