diff options
Diffstat (limited to 'Modules/symtablemodule.c')
| -rw-r--r-- | Modules/symtablemodule.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/symtablemodule.c b/Modules/symtablemodule.c index d66cb44f69..9180f185e1 100644 --- a/Modules/symtablemodule.c +++ b/Modules/symtablemodule.c @@ -30,11 +30,10 @@ _symtable_symtable_impl(PyObject *module, PyObject *source, struct symtable *st; PyObject *t; int start; - PyCompilerFlags cf; + PyCompilerFlags cf = _PyCompilerFlags_INIT; PyObject *source_copy = NULL; cf.cf_flags = PyCF_SOURCE_IS_UTF8; - cf.cf_feature_version = PY_MINOR_VERSION; const char *str = _Py_SourceAsString(source, "symtable", "string or bytes", &cf, &source_copy); if (str == NULL) { |
