Skip to content

bpo-34611: Modify some examples in 'itertools' modules docs#9120

Closed
taketakeyyy wants to merge 2 commits into
python:masterfrom
taketakeyyy:bpo-34611
Closed

bpo-34611: Modify some examples in 'itertools' modules docs#9120
taketakeyyy wants to merge 2 commits into
python:masterfrom
taketakeyyy:bpo-34611

Conversation

@taketakeyyy

@taketakeyyy taketakeyyy commented Sep 9, 2018

Copy link
Copy Markdown
Contributor

e.g.
This doc says the following.

zip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C- D-

I expected that it returns a following iterator.

"Ax" "By" "C-" "D-"

But it actually returns a following.

('A', 'x') ('B', 'y') ('C', '-') ('D', '-')

So I modified docs.

https://bugs.python.org/issue34611

takesue.y added 2 commits September 8, 2018 17:38
e.g.
This doc says the following.

zip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C- D-

I expected that it returns a following iterator.

"Ax" "By" "C-" "D-"

But it actually returns a following.

('A', 'x') ('B', 'y') ('C', '-') ('D', '-')

So I modified docs.
@the-knights-who-say-ni

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting review labels Sep 9, 2018
@rhettinger rhettinger closed this Sep 9, 2018
@taketakeyyy taketakeyyy deleted the bpo-34611 branch September 10, 2018 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants