diff options
author | Larry Hastings <larry@hastings.org> | 2015-12-20 22:46:30 -0800 |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2015-12-20 22:46:30 -0800 |
commit | 9e34b958086344c2de9e08c8831b4a7c01be619a (patch) | |
tree | 32bb40d26e9865264292590b78c6731a916517a9 /Python/future.c | |
parent | 4ac5cf0d85fda4ae3d78b08b0eac37a882cc3853 (diff) | |
parent | ad0f5ec14da4d3fa7549f8e30b419abb6e11660d (diff) | |
download | cpython-9e34b958086344c2de9e08c8831b4a7c01be619a.tar.gz |
Merge 3.4.4 from 3.4 to 3.5.
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"); |