SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72156 0 81 Python

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.
H
Hong Xu committed
4c792f39e688b11c7c19e411ed4f76a7baa44638
Parent: de3db14
Committed by GitHub <noreply@github.com> on 11/13/2021, 6:02:04 AM