Changes between Version 1 and Version 2 of Ticket #1115, comment 16


Ignore:
Timestamp:
2012-04-01T23:39:39Z (12 years ago)
Author:
amiller
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1115, comment 16

    v1 v2  
    11Good catch. I fixed the problem by adding an initial argument to reduce:
    22
    3 {{{ len(reduce(set.union, sm.itervalues(), set()) }}}
     3{{{ len(reduce(set.union, sm.itervalues(), set())) }}}
    44
    55I modified the unit test to cover this as well.