bpo-32670: Enforce PEP 479. (#5327)
This commit is contained in:
@@ -41,7 +41,7 @@ future_check_features(PyFutureFeatures *ff, stmt_ty s, PyObject *filename)
|
||||
} else if (strcmp(feature, FUTURE_BARRY_AS_BDFL) == 0) {
|
||||
ff->ff_features |= CO_FUTURE_BARRY_AS_BDFL;
|
||||
} else if (strcmp(feature, FUTURE_GENERATOR_STOP) == 0) {
|
||||
ff->ff_features |= CO_FUTURE_GENERATOR_STOP;
|
||||
continue;
|
||||
} else if (strcmp(feature, FUTURE_ANNOTATIONS) == 0) {
|
||||
ff->ff_features |= CO_FUTURE_ANNOTATIONS;
|
||||
} else if (strcmp(feature, "braces") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user