diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-15 00:23:08 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-15 00:23:08 +0200 |
commit | 458032a249e61213cfd53f3e27dcc16003310812 (patch) | |
tree | 7a2b9eec68501024a0ef4fc35b5ebf2b1df3433d /Python/future.c | |
parent | 7151648468b2f2c3f02ded08a369343693c5dcd8 (diff) | |
parent | febef19231812bb0c0afe128320aa4790aaa3911 (diff) | |
download | cpython-458032a249e61213cfd53f3e27dcc16003310812.tar.gz |
Merge 3.4 (test_gdb)
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"); |