]> granicus.if.org Git - python/commitdiff
this should technicaly be identifier
authorBenjamin Peterson <benjamin@python.org>
Thu, 22 Mar 2012 14:39:16 +0000 (10:39 -0400)
committerBenjamin Peterson <benjamin@python.org>
Thu, 22 Mar 2012 14:39:16 +0000 (10:39 -0400)
Python/future.c

index 89592e22242ed77f117a830bb87888f2f77956d1..83465a8710d612a82696d70df6a4de75cc08312a 100644 (file)
@@ -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) {