MCPcopy Index your code
hub / github.com/python/cpython / plus

Method plus

Lib/test/test_builtin.py:1367–1370  ·  view source on GitHub ↗
(*v)

Source from the content-addressed store, hash-verified

1365 )
1366
1367 def plus(*v):
1368 accu = 0
1369 for i in v: accu = accu + i
1370 return accu
1371 self.assertEqual(
1372 list(map(plus, [1, 3, 7])),
1373 [1, 3, 7]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected