diff options
| author | Eli Bendersky <eliben@gmail.com> | 2012-06-03 08:07:47 +0300 |
|---|---|---|
| committer | Eli Bendersky <eliben@gmail.com> | 2012-06-03 08:07:47 +0300 |
| commit | 2ba6be648049a86fd44fbcb6536dd6ac00a8805b (patch) | |
| tree | c7fe40c3a93c5b46beeb4a4d6bd8355cd50b7966 /Include | |
| parent | 83663c4339c87b72b20ff8184e6e91dfa04d0e90 (diff) | |
| download | cpython-2ba6be648049a86fd44fbcb6536dd6ac00a8805b.tar.gz | |
Issue #14090: fix some minor C API problems in default branch (3.3)
Diffstat (limited to 'Include')
| -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 48e39a4522..e5620ee326 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 *, |
