mirror of https://github.com/python/cpython
this should technicaly be identifier
This commit is contained in:
parent
72c6227df8
commit
219a05094b
|
@ -85,7 +85,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 && PyString_GET_SIZE(modname) == 10 &&
|
||||
!strcmp(PyString_AS_STRING(modname), "__future__")) {
|
||||
if (done) {
|
||||
|
|
Loading…
Reference in New Issue