Mercurial > cpython-lru_cache-weakref
diff Python/future.c @ 18612:4ac98fe7abd2 legacy-trunk
future.c: insert a cosmetic space.
pythonrun.c, run_pyc_file(): repair semantic error wrt CO_GENERATOR vs
CO_GENERATOR_ALLOWED.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Mon, 16 Jul 2001 03:11:48 +0000 |
| parents | fdb36a0c7e6e |
| children | f20727cc3d0f |
line wrap: on
line diff
--- a/Python/future.c Mon Jul 16 02:29:45 2001 +0000 +++ b/Python/future.c Mon Jul 16 03:11:48 2001 +0000 @@ -32,7 +32,7 @@ if (strcmp(feature, FUTURE_NESTED_SCOPES) == 0) { ff->ff_nested_scopes = 1; } else if (strcmp(feature, FUTURE_GENERATORS) == 0) { - ff->ff_generators= 1; + ff->ff_generators = 1; } else if (strcmp(feature, "braces") == 0) { PyErr_SetString(PyExc_SyntaxError, "not a chance");
