diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2020-06-21 23:47:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-21 23:47:46 (GMT) |
commit | 564cd187677ae8d1488c4d8ae649aea34ebbde07 (patch) | |
tree | c6b1daab60da4c943f1e130945f846bc4bf1479f /Include/internal | |
parent | 6989af0bc7ea1e9a1acea16794e6f723d7b44110 (diff) | |
download | cpython-564cd187677ae8d1488c4d8ae649aea34ebbde07.zip cpython-564cd187677ae8d1488c4d8ae649aea34ebbde07.tar.gz cpython-564cd187677ae8d1488c4d8ae649aea34ebbde07.tar.bz2 |
bpo-40939: Rename PyPegen* functions to PyParser* (GH-21016)
Rename PyPegen* functions to PyParser*, so that we can remove the
old set of PyParser* functions that were using the old parser.
Diffstat (limited to 'Include/internal')
-rw-r--r-- | Include/internal/pegen_interface.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/Include/internal/pegen_interface.h b/Include/internal/pegen_interface.h deleted file mode 100644 index ee4c77e..0000000 --- a/Include/internal/pegen_interface.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef Py_PEGENINTERFACE -#define Py_PEGENINTERFACE -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef Py_BUILD_CORE -# error "this header requires Py_BUILD_CORE define" -#endif - -#include "Python.h" -#include "Python-ast.h" - -PyAPI_FUNC(mod_ty) PyPegen_ASTFromString( - const char *str, - const char *filename, - int mode, - PyCompilerFlags *flags, - PyArena *arena); -PyAPI_FUNC(mod_ty) PyPegen_ASTFromStringObject( - const char *str, - PyObject* filename, - int mode, - PyCompilerFlags *flags, - PyArena *arena); -PyAPI_FUNC(mod_ty) PyPegen_ASTFromFileObject( - FILE *fp, - PyObject *filename_ob, - int mode, - const char *enc, - const char *ps1, - const char *ps2, - PyCompilerFlags *flags, - int *errcode, - PyArena *arena); -PyAPI_FUNC(mod_ty) PyPegen_ASTFromFilename( - const char *filename, - int mode, - PyCompilerFlags *flags, - PyArena *arena); - - -#ifdef __cplusplus -} -#endif -#endif /* !Py_PEGENINTERFACE*/ |