Fix typo when "PyObject*" was changed to "identifier"
This commit is contained in:
parent
b81e5388b6
commit
c5d47d5ac3
|
@ -86,7 +86,7 @@ future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename)
|
|||
*/
|
||||
|
||||
if (s->kind == ImportFrom_kind) {
|
||||
identifier *modname = s->v.ImportFrom.module;
|
||||
identifier modname = s->v.ImportFrom.module;
|
||||
if (modname &&
|
||||
!PyUnicode_CompareWithASCIIString(modname, "__future__")) {
|
||||
if (done) {
|
||||
|
|
Loading…
Reference in New Issue