mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
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.
This commit is contained in:
parent
045ca7ae72
commit
b09f7ed623
8 changed files with 47 additions and 3 deletions
|
@ -22,6 +22,8 @@ are the same, except instead of generating tokens, tokeneater is a callback
|
|||
function to which the 5 fields described above are passed as 5 arguments,
|
||||
each time a new token is found."""
|
||||
|
||||
from __future__ import generators
|
||||
|
||||
__author__ = 'Ka-Ping Yee <ping@lfw.org>'
|
||||
__credits__ = \
|
||||
'GvR, ESR, Tim Peters, Thomas Wouters, Fred Drake, Skip Montanaro'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue