diff options
author | Guido van Rossum <guido@python.org> | 2001-07-15 21:08:29 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-07-15 21:08:29 +0000 |
commit | b09f7ed6235783fca27a4f8730c4c33e0f53c16c (patch) | |
tree | d76806c53fd83557378dcd7395ce5309f707eb15 /Lib/types.py | |
parent | 045ca7ae72368ce65fe7debbd343cf8133eea5e4 (diff) | |
download | cpython-git-b09f7ed6235783fca27a4f8730c4c33e0f53c16c.tar.gz |
Preliminary support for "from __future__ import generators" to enable
the yield statement. I figure we have to have this in before I can
release 2.2a1 on Wednesday.
Note: test_generators is currently broken, I'm counting on Tim to fix
this.
Diffstat (limited to 'Lib/types.py')
-rw-r--r-- | Lib/types.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/types.py b/Lib/types.py index 85962bada4..95600a3b9a 100644 --- a/Lib/types.py +++ b/Lib/types.py @@ -2,6 +2,7 @@ Types that are part of optional modules (e.g. array) are not listed. """ +from __future__ import generators import sys |