Skip to content

correct parse_qs and parse_qsl test case descriptions.#968

Merged
orsenthil merged 3 commits into
python:masterfrom
orsenthil:fix_urllib_test_parse_qs_description
Apr 5, 2017
Merged

correct parse_qs and parse_qsl test case descriptions.#968
orsenthil merged 3 commits into
python:masterfrom
orsenthil:fix_urllib_test_parse_qs_description

Conversation

@orsenthil

Copy link
Copy Markdown
Member

It had wrong types written in test case descriptions.

@mention-bot

Copy link
Copy Markdown

@orsenthil, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ezio-melotti, @facundobatista and @ncoghlan to be potential reviewers.

Comment thread Lib/urllib/parse.py Outdated
encoding and errors: specify how to decode percent-encoded sequences
into Unicode characters, as accepted by the bytes.decode() method.

Returns a dictionary.

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.

Indentation is less than the rest

@orsenthil

Copy link
Copy Markdown
Member Author

@vadmium , thanks for the review. Took a chance to make the docstring of the other method consistently indented too.

Comment thread Lib/urllib/parse.py
into Unicode characters, as accepted by the bytes.decode() method.

Returns a list, as G-d intended.
Returns a list, as G-d intended.

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.

Sorry to be nitpicky, but now this will have “Returns a list” indented underneath “Arguments:”, which seems wrong. I haven’t tried, butt I expect the help will look like

Parse a query . . .

Arguments:

    qs: . . .

    . . .

    encoding and errors: . . .

    Returns a list . . .

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No problem. I've addressed this comment. I didn't notice it earlier.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

FWIW: Here is the indentation that I verified.

screenshot 2017-04-03 20 02 34

@orsenthil orsenthil merged commit 257b980 into python:master Apr 5, 2017
orsenthil added a commit that referenced this pull request Apr 5, 2017
orsenthil added a commit that referenced this pull request Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants