Leonhard Vogt added the comment:
I changed the documentation regarding string not allowed as start argument and
performance
I included the list concatenation with itertools.chain from
http://groups.google.com/group/comp.lang.python/msg/33e764d0ac41826a
patch is based on revision 81300 in
Leonhard Vogt added the comment:
Thank you.
I think the specific list of list example is better for the sum documentation
because lists support the + operator. I don't think
that someone would consider using sum for chaining arbitrary iterables.
What about a concise "To concatenate
Leonhard Vogt added the comment:
another patch:
- moved string case to first position, i think it's the most important.
- reworded (shortened) list case.
- wrapped for <80 caracter lines.
still using itertools.itertools.chain.from_iterable as mentioned in previous
message. I missed ge
Changes by Leonhard Vogt :
Removed file: http://bugs.python.org/file18223/functions.rst.patch4.txt
___
Python tracker
<http://bugs.python.org/issue7447>
___
___
Python-bug
Leonhard Vogt added the comment:
Thank you Georg, I updated the patch
Ezio, wouldn't start=0 in the signature imply that sum accepted a keyword
argument? I read "Documenting Python" (4.3) but am not sure about the
distinction of default values or keyword arbuments.
>>