summaryrefslogtreecommitdiffstats
path: root/Python/future.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-07-16 03:11:48 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-07-16 03:11:48 (GMT)
commit51d76f1f7532d9f55e31dbf3fd4dc26be42a839a (patch)
tree9c758a2b4b361a4fe5ae9ccfe22f954fe52cbe2d /Python/future.c
parent5ba58662817b708a453020f0425fe4747ea6d5cb (diff)
downloadcpython-51d76f1f7532d9f55e31dbf3fd4dc26be42a839a.zip
cpython-51d76f1f7532d9f55e31dbf3fd4dc26be42a839a.tar.gz
cpython-51d76f1f7532d9f55e31dbf3fd4dc26be42a839a.tar.bz2
future.c: insert a cosmetic space.
pythonrun.c, run_pyc_file(): repair semantic error wrt CO_GENERATOR vs CO_GENERATOR_ALLOWED.
Diffstat (limited to 'Python/future.c')
-rw-r--r--Python/future.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/future.c b/Python/future.c
index f0960ae..fc0d748 100644
--- a/Python/future.c
+++ b/Python/future.c
@@ -32,7 +32,7 @@ future_check_features(PyFutureFeatures *ff, node *n, char *filename)
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");