]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45772: socket.socket should be a class instead of a function (GH-23960)
authorHong Xu <hong@topbug.net>
Sat, 13 Nov 2021 06:02:04 +0000 (22:02 -0800)
committerGitHub <noreply@github.com>
Sat, 13 Nov 2021 06:02:04 +0000 (08:02 +0200)
commit4c792f39e688b11c7c19e411ed4f76a7baa44638
tree80a63bae131a585d71e8bed07e8fd3cc570107cd
parentde3db1448b1b983eeb9f4498d07e3d2f1fb6d29d
bpo-45772: socket.socket should be a class instead of a function (GH-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.
Doc/library/socket.rst
Misc/NEWS.d/next/Documentation/2021-11-09-13-10-55.bpo-45772.EdrM3t.rst [new file with mode: 0644]