Scott David Daniels wrote: > True. The 2.4 document says that itertools.groupby() is equivalent to: > > class groupby(object):
> So you could always just use that code.
the right way to do that is to use the Python version as a fallback:
try:
from itertools import groupby
except ImportError:
class groupby(object):
...
</F>
--
http://mail.python.org/mailman/listinfo/python-list
