Commit 9faf5ee7 authored by Benjamin Peterson's avatar Benjamin Peterson

this should technicaly be identifier

parent 0197ff97
...@@ -86,7 +86,7 @@ future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename) ...@@ -86,7 +86,7 @@ future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename)
*/ */
if (s->kind == ImportFrom_kind) { if (s->kind == ImportFrom_kind) {
PyObject *modname = s->v.ImportFrom.module; identifier *modname = s->v.ImportFrom.module;
if (modname && if (modname &&
!PyUnicode_CompareWithASCIIString(modname, "__future__")) { !PyUnicode_CompareWithASCIIString(modname, "__future__")) {
if (done) { if (done) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment