.. note::
- In Python 2.2, the :keyword:`yield` statement is only allowed when the
- ``generators`` feature has been enabled. It will always be enabled in Python
- 2.3. This ``__future__`` import statement can be used to enable the feature::
+ In Python 2.2, the :keyword:`yield` statement was only allowed when the
+ ``generators`` feature has been enabled. This ``__future__``
+ import statement was used to enable the feature::
from __future__ import generators