diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-11 14:55:54 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-11 14:55:54 -0400 |
commit | e71dfa83c2368faf27d966e00104712e342bb7b8 (patch) | |
tree | d5045e0738daecdeeced258299aecd435a6e47f4 /Python/future.c | |
parent | 1dd82313ca61ef8deefee378ffea464a2b2aa523 (diff) | |
parent | 2c8aa6d3ba8515b8476352c2407ae3859c9f551d (diff) | |
download | cpython-e71dfa83c2368faf27d966e00104712e342bb7b8.tar.gz |
Null merge.
Diffstat (limited to 'Python/future.c')
-rw-r--r-- | Python/future.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/future.c b/Python/future.c index 81eab54dd6..163f87f673 100644 --- a/Python/future.c +++ b/Python/future.c @@ -40,6 +40,8 @@ future_check_features(PyFutureFeatures *ff, stmt_ty s, PyObject *filename) continue; } 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; } else if (strcmp(feature, "braces") == 0) { PyErr_SetString(PyExc_SyntaxError, "not a chance"); |