[Python-Dev] itertools.chain should take an iterable ?
Paolino
paolo_veronelli at libero.it
Thu Sep 1 19:58:40 CEST 2005
More information about the Python-Dev mailing list
Thu Sep 1 19:58:40 CEST 2005
- Previous message: [Python-Dev] partition() (was: Remove str.find in 3.0?)
- Next message: [Python-Dev] itertools.chain should take an iterable ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Working on a tree library I've found myself writing itertools.chain(*[child.method() for child in self]). Well this happened after I tried instinctively itertools.chain(child.method() for child in self). Is there a reason for this signature ? Regards paolino
- Previous message: [Python-Dev] partition() (was: Remove str.find in 3.0?)
- Next message: [Python-Dev] itertools.chain should take an iterable ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list