summaryrefslogtreecommitdiffstats
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2024-04-02 10:34:49 (GMT)
committerGitHub <noreply@github.com>2024-04-02 10:34:49 (GMT)
commit1d5479b236e9a66dd32a24eff6fb83e3242b999d (patch)
tree58952ccbc1825b1b7a3004a5971bd4a9a23b2dca /Python/symtable.c
parent5fd1897ec51cb64ef7990ada538fcd8d9ca1f74b (diff)
downloadcpython-1d5479b236e9a66dd32a24eff6fb83e3242b999d.zip
cpython-1d5479b236e9a66dd32a24eff6fb83e3242b999d.tar.gz
cpython-1d5479b236e9a66dd32a24eff6fb83e3242b999d.tar.bz2
gh-117411: move PyFutureFeatures to pycore_symtable.h and make it private (#117412)
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index b69452b..36ccc0e 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -387,7 +387,7 @@ symtable_new(void)
}
struct symtable *
-_PySymtable_Build(mod_ty mod, PyObject *filename, PyFutureFeatures *future)
+_PySymtable_Build(mod_ty mod, PyObject *filename, _PyFutureFeatures *future)
{
struct symtable *st = symtable_new();
asdl_stmt_seq *seq;
@@ -2757,7 +2757,7 @@ _Py_SymtableStringObjectFlags(const char *str, PyObject *filename,
_PyArena_Free(arena);
return NULL;
}
- PyFutureFeatures future;
+ _PyFutureFeatures future;
if (!_PyFuture_FromAST(mod, filename, &future)) {
_PyArena_Free(arena);
return NULL;