From 51d76f1f7532d9f55e31dbf3fd4dc26be42a839a Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Mon, 16 Jul 2001 03:11:48 +0000 Subject: future.c: insert a cosmetic space. pythonrun.c, run_pyc_file(): repair semantic error wrt CO_GENERATOR vs CO_GENERATOR_ALLOWED. --- Python/pythonrun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index d5705b97ba..0412b7e70d 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1076,7 +1076,7 @@ run_pyc_file(FILE *fp, char *filename, PyObject *globals, PyObject *locals, if (v && flags) { if (co->co_flags & CO_NESTED) flags->cf_flags |= PyCF_NESTED_SCOPES; - if (co->co_flags & CO_GENERATOR) + if (co->co_flags & CO_GENERATOR_ALLOWED) flags->cf_flags |= PyCF_GENERATORS; #if 0 fprintf(stderr, "run_pyc_file: nested_scopes: %d\n", -- cgit v1.2.1