Skip to content

correct parse_qs and parse_qsl test case descriptions. #968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 5, 2017
Merged

correct parse_qs and parse_qsl test case descriptions. #968

merged 3 commits into from
Apr 5, 2017

Conversation

orsenthil
Copy link
Member

It had wrong types written in test case descriptions.

@mention-bot
Copy link

@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.

@@ -633,6 +634,8 @@ def parse_qs(qs, keep_blank_values=False, strict_parsing=False,

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
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
Member Author

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


Returns a list, as G-d intended.
Returns a list, as G-d intended.
Copy link
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
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
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