Skip to content

gh-103112: Add http.client.HTTPResponse.read docstring and fix pydoc output - #103113

Merged
terryjreedy merged 8 commits into
python:mainfrom
bwagner:fixes-httpclient-read-documentation
Mar 29, 2023
Merged

gh-103112: Add http.client.HTTPResponse.read docstring and fix pydoc output#103113
terryjreedy merged 8 commits into
python:mainfrom
bwagner:fixes-httpclient-read-documentation

Conversation

@bwagner

@bwagner bwagner commented Mar 29, 2023

Copy link
Copy Markdown
Contributor

pydoc http.client.HTTPResponse.read

results in help text:

http.client.HTTPResponse.read = read(self, amt=None)
    Read and return up to n bytes.

The parameter is called “amt” but the help text refers to “n”.

Issue 103112
Discussion

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stdlib Standard Library Python modules in the Lib/ directory type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants