Skip to content

[2.7] bpo-23787: Change sum() docstring from sequence to iterable#1859

Merged
Mariatta merged 2 commits into
python:2.7from
Mariatta:bpo-23787
Jun 6, 2017
Merged

[2.7] bpo-23787: Change sum() docstring from sequence to iterable#1859
Mariatta merged 2 commits into
python:2.7from
Mariatta:bpo-23787

Conversation

@Mariatta

Copy link
Copy Markdown
Member

Original patch by Raymond Hettinger.

@Mariatta Mariatta requested a review from rhettinger May 30, 2017 02:39
@Mariatta Mariatta added the docs Documentation in the Doc dir label May 30, 2017
Comment thread Python/bltinmodule.c Outdated
\n\
Return the sum of a sequence of numbers (NOT strings) plus the value\n\
of parameter 'start' (which defaults to 0). When the sequence is\n\
Return the sum of an iterable or sequence of numbers (NOT strings) \n\

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to avoid the trailing space

@Mariatta

Mariatta commented Jun 1, 2017

Copy link
Copy Markdown
Member Author

Thanks for the review @vadmium I removed the trailing space.

@Mariatta Mariatta merged commit 536209e into python:2.7 Jun 6, 2017
@Mariatta Mariatta deleted the bpo-23787 branch June 6, 2017 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants