mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
this should technicaly be identifier
This commit is contained in:
parent
0197ff97d0
commit
9faf5ee750
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename)
|
|||
*/
|
||||
|
||||
if (s->kind == ImportFrom_kind) {
|
||||
PyObject *modname = s->v.ImportFrom.module;
|
||||
identifier *modname = s->v.ImportFrom.module;
|
||||
if (modname &&
|
||||
!PyUnicode_CompareWithASCIIString(modname, "__future__")) {
|
||||
if (done) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue