diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-11-13 06:23:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 06:23:23 (GMT) |
commit | 3f15792d60011639d9b170d8a76c6db7f6e83665 (patch) | |
tree | e8325bd4b9da2f1e8030da037194987416e181da /Python/pymath.c | |
parent | e4c5a5eabadd1dcd0b522ffbd70157cd95506ad1 (diff) | |
download | cpython-3f15792d60011639d9b170d8a76c6db7f6e83665.zip cpython-3f15792d60011639d9b170d8a76c6db7f6e83665.tar.gz cpython-3f15792d60011639d9b170d8a76c6db7f6e83665.tar.bz2 |
[3.10] bpo-45772: socket.socket should be a class instead of a function (GH-23960) (GH-29542)
* [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 4c792f39e688b11c7c19e411ed4f76a7baa44638)
Co-authored-by: Hong Xu <hong@topbug.net>
Automerge-Triggered-By: GH:asvetlov
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions