aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/import.c
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2020-05-01 20:30:51 +0300
committerGitHub <noreply@github.com>2020-05-01 18:30:51 +0100
commit03b7642265e65f198682f22648dbe6cf4fff9835 (patch)
tree9eb424f013229729e2eef40ec91de43f69983027 /Python/import.c
parentd9d6eadf003605f4cdb55e38df2168dd1bc0dbd5 (diff)
downloadcpython-03b7642265e65f198682f22648dbe6cf4fff9835.tar.gz
cpython-03b7642265e65f198682f22648dbe6cf4fff9835.zip
bpo-40334: Make the PyPegen* and PyParser* APIs more consistent (GH-19839)
This commit makes both APIs more consistent by doing the following: - Remove the `PyPegen_CodeObjectFrom*` functions, which weren't used and will probably not be needed. Functions like `Py_CompileStringObject` can be used instead. - Include a `const char *filename` parameter in `PyPegen_ASTFromString`. - Rename `PyPegen_ASTFromFile` to `PyPegen_ASTFromFilename`, because its signature is not the same with `PyParser_ASTFromFile`.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions