diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-10-07 10:01:04 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-10-07 10:01:04 +0000 |
commit | 6e1d0fd29a658fa402340dbc031e4fc7db202ee7 (patch) | |
tree | 43991206a47c92f8b2ac1d4a1a938f31e5294f08 /Python/future.c | |
parent | ffee692e0ddd36e128c7dc3632b1e795a9a8a289 (diff) | |
parent | 51dc66135fd222c634512dfacba7a799372d230f (diff) | |
download | cpython-6e1d0fd29a658fa402340dbc031e4fc7db202ee7.tar.gz |
Issue #25286: Merge dictionary view glossary from 3.4 into 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"); |