Showing content from http://mail.python.org/pipermail/python-dev/attachments/20140801/f70a8c83/attachment.html below:
<div dir="ltr">help(sum) tells clearly that it should be used to sum numbers and not strings, and with strings actually fails.<div><br></div><div>However sum([[1,2,3],[4],[],[5,6]], []) concatenates the lists.</div><div><br>
</div><div>Is this to be considered a bug?</div><div><br></div><div>Andrea</div></div>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4