File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1562,11 +1562,11 @@ are always available. They are listed here in alphabetical order.
1562
1562
about strings, see :ref: `textseq `.
1563
1563
1564
1564
1565
- .. function :: sum(iterable[, start] )
1565
+ .. function :: sum(iterable, /, start=0 )
1566
1566
1567
1567
Sums *start * and the items of an *iterable * from left to right and returns the
1568
- total. * start * defaults to `` 0 ``. The *iterable *'s items are normally numbers,
1569
- and the start value is not allowed to be a string.
1568
+ total. The *iterable *'s items are normally numbers, and the start value is not
1569
+ allowed to be a string.
1570
1570
1571
1571
For some use cases, there are good alternatives to :func: `sum `.
1572
1572
The preferred, fast way to concatenate a sequence of strings is by calling
You can’t perform that action at this time.
0 commit comments