summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/future.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/future.c b/Python/future.c
index 89466f0..cf2dca5 100644
--- a/Python/future.c
+++ b/Python/future.c
@@ -19,7 +19,7 @@ future_check_features(PyFutureFeatures *ff, node *n, char *filename)
REQ(n, import_stmt); /* must by from __future__ import ... */
- for (i = 3; i < NCH(n); ++i) {
+ for (i = 3; i < NCH(n); i += 2) {
ch = CHILD(n, i);
if (TYPE(ch) == STAR) {
PyErr_SetString(PyExc_SyntaxError,