merge 3.2

This commit is contained in:
Benjamin Peterson 2012-03-22 10:40:20 -04:00
commit cc58031d6a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {