]> 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 4c1c347053ec6119f515104c043e5f897de6a52c..0e6884598122fe9191baa41286286d52166baf8a 100644 (file)
@@ -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) {