mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
Removed more hair in support of future-generator stmts.
This commit is contained in:
parent
68c7e26dc9
commit
2bbdba3c00
3 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue