Changes between Version 1 and Version 2 of Ticket #1115, comment 16
- Timestamp:
- 2012-04-01T23:39:39Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1115, comment 16
v1 v2 1 1 Good catch. I fixed the problem by adding an initial argument to reduce: 2 2 3 {{{ len(reduce(set.union, sm.itervalues(), set()) }}}3 {{{ len(reduce(set.union, sm.itervalues(), set())) }}} 4 4 5 5 I modified the unit test to cover this as well.