diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-12 01:20:10 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-12 01:20:10 (GMT) |
commit | 2bbdba3c00c33453a2591ffce798c870d9a0ae22 (patch) | |
tree | c1e671d3cd9416434039bc6e7975a96551b34a1f /Python | |
parent | 68c7e26dc953c5403bd193def3c966f0297ffeae (diff) | |
download | cpython-2bbdba3c00c33453a2591ffce798c870d9a0ae22.zip cpython-2bbdba3c00c33453a2591ffce798c870d9a0ae22.tar.gz cpython-2bbdba3c00c33453a2591ffce798c870d9a0ae22.tar.bz2 |
Removed more hair in support of future-generator stmts.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/future.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/future.c b/Python/future.c index 563bbdf..beec9fc 100644 --- a/Python/future.c +++ b/Python/future.c @@ -35,7 +35,7 @@ future_check_features(PyFutureFeatures *ff, node *n, char *filename) if (strcmp(feature, FUTURE_NESTED_SCOPES) == 0) { continue; } else if (strcmp(feature, FUTURE_GENERATORS) == 0) { - ff->ff_features |= CO_GENERATOR_ALLOWED; + continue; } else if (strcmp(feature, FUTURE_DIVISION) == 0) { ff->ff_features |= CO_FUTURE_DIVISION; } else if (strcmp(feature, "braces") == 0) { |