diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-07-16 03:11:48 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-07-16 03:11:48 +0000 |
commit | b4638518f7900f5814531ebf06fc387cd084a484 (patch) | |
tree | 0586eeeb676e59be8a3a0571c7a5b4fcaea22e04 /Python/pythonrun.c | |
parent | 0bfd3b1baa5c5cfbcc6d35622f6f2781d4e4c9d8 (diff) | |
download | cpython-b4638518f7900f5814531ebf06fc387cd084a484.tar.gz |
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/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |