Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8134d06e
Commit
8134d06e
authored
Oct 12, 2006
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #1283491: follow docstring convention wrt. keyword-able args in sum().
parent
35207712
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Python/bltinmodule.c
Python/bltinmodule.c
+3
-2
No files found.
Python/bltinmodule.c
View file @
8134d06e
...
...
@@ -2055,10 +2055,11 @@ builtin_sum(PyObject *self, PyObject *args)
}
PyDoc_STRVAR
(
sum_doc
,
"sum(sequence
, start=0
) -> value
\n
\
"sum(sequence
[, start]
) -> value
\n
\
\n
\
Returns the sum of a sequence of numbers (NOT strings) plus the value
\n
\
of parameter 'start'. When the sequence is empty, returns start."
);
of parameter 'start' (which defaults to 0). When the sequence is
\n
\
empty, returns start."
);
static
PyObject
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment