8000 Type `http.client.HTTPConnection.sock` by sobolevn · Pull Request #8386 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Type http.client.HTTPConnection.sock #8386

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
Jul 26, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update client.pyi
  • Loading branch information
sobolevn authored Jul 25, 2022
commit 0fb63e6c432ff6ce475bce39e3b5901f8bbae2ca
2 changes: 1 addition & 1 deletion stdlib/http/client.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class HTTPConnection:
timeout: float | None
host: str
port: int
sock: socket | None
sock: socket | Any # can be `None` if `.connect()` was not called
def __init__(
self,
host: str,
Expand Down
0