No. We just can't put all possible use cases in the docstring. :-)

On Fri, Aug 1, 2014 at 2:48 PM, Andrea Griffini <> wrote:
help(sum) tells clearly that it should be used to sum numbers and not strings, and with strings actually fails.

However sum([[1,2,3],[4],[],[5,6]], []) concatenates the lists.

Is this to be considered a bug?


Python-Dev mailing list

--Guido van Rossum (