mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-57665: Remove 'response_class' from getresponse docstring. (#140707)
Remove 'response_class' from getresponse docstring. This variable is not documented as part of the API in the standard library documentation; it should be considered as an implementation detail and as such should not be included in the doc string. Closes #57665.
This commit is contained in:
parent
e733dc90f3
commit
81cec22a9b
1 changed files with 1 additions and 2 deletions
|
|
@ -1391,8 +1391,7 @@ def getresponse(self):
|
|||
"""Get the response from the server.
|
||||
|
||||
If the HTTPConnection is in the correct state, returns an
|
||||
instance of HTTPResponse or of whatever object is returned by
|
||||
the response_class variable.
|
||||
instance of HTTPResponse.
|
||||
|
||||
If a request has not been sent or if a previous response has
|
||||
not be handled, ResponseNotReady is raised. If the HTTP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue