changed builtin_sum to use PyNumber_InPlaceAdd -- unchanged semantics… · sthagen/python-cpython@af1b4c9 · GitHub
Skip to content

Commit af1b4c9

Browse files
committed
changed builtin_sum to use PyNumber_InPlaceAdd -- unchanged semantics but
fixes performance bug with sum(lotsoflists, []).
1 parent 733e26a commit af1b4c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)