Mercurial > hg
comparison hgext/gpg.py @ 11500:b782a7eb9037
record: removed 'reduce' calls (unsupported by py3k)
Quoting python's documentation, "Note that sum(range(n), m) is
equivalent to reduce(operator.add, range(n), m)". The "sum" function
is a builtin from 2.3 on and there's no reason for not to use it.
author | Renato Cunha <renatoc@gmail.com> |
---|---|
date | Thu, 01 Jul 2010 19:27:03 -0300 |
parents | 40c06bbf58be |
children | a4fbbe0fbc38 |
comparison
equal
deleted
inserted
replaced
11499:324cd681fa47 | 11500:b782a7eb9037 |
---|