Skip to content
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

[3.8] bpo-45772: socket.socket should be a class instead of a function (GH-23960) #29544

Closed

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 13, 2021

  • bpo-45772: socket.socket should be a class instead of a function

Currently socket.socket is documented as a function, but it is really
a class (and thus has function-like usage to construct an object). This
correction would ensure that Python projects that are interlinking
Python's documentation can properly locate socket.socket as a type.
(cherry picked from commit 4c792f3)

Co-authored-by: Hong Xu hong@topbug.net

https://bugs.python.org/issue45772

Automerge-Triggered-By: GH:asvetlov

…honGH-23960)

* bpo-45772: socket.socket should be a class instead of a function

Currently `socket.socket` is documented as a function, but it is really
a class (and thus has function-like usage to construct an object). This
correction would ensure that Python projects that are interlinking
Python's documentation can properly locate `socket.socket` as a type.
(cherry picked from commit 4c792f3)

Co-authored-by: Hong Xu <hong@topbug.net>
@miss-islington
Copy link
Contributor Author

@xuhdev and @asvetlov: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@xuhdev and @asvetlov: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

Sorry, I can't merge this PR. Reason: You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

@asvetlov asvetlov closed this Nov 13, 2021
@miss-islington miss-islington deleted the backport-4c792f3-3.8 branch November 13, 2021 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants