This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients mark.dickinson, oggust, rhettinger
Date 2009-10-20.19:19:19
SpamBayes Score 0.0034883446
Marked as misclassified No
Message-id <1256066361.67.0.856908036986.issue7176@psf.upfronthosting.co.za>
In-reply-to
Content
One use of the start argument is used to specify an initial zero/metpy
value for the summation:  0  or  0.0   or Decimal(0)  or  [].

BTW, sum() isn't a good technique for concatenating lists.  Instead use
something like:

   result = []
   for seq in data:
      result.extend(seq)

A fast one-liner version:
   result = list(itertools.chain.from_iterable(seq))
History
Date User Action Args
2009-10-20 19:19:21rhettingersetrecipients: + rhettinger, mark.dickinson, oggust
2009-10-20 19:19:21rhettingersetmessageid: <1256066361.67.0.856908036986.issue7176@psf.upfronthosting.co.za>
2009-10-20 19:19:20rhettingerlinkissue7176 messages
2009-10-20 19:19:19rhettingercreate