classification
Title: socket.socket should be a class instead of a function
Type: Stage:
Components: Documentation Versions: Python 3.11, Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: arhadthedev, docs@python, xuhdev
Priority: normal Keywords:

Created on 2021-11-09 19:55 by arhadthedev, last changed 2021-11-09 19:55 by arhadthedev.

Pull Requests
URL Status Linked Edit
PR 23960 open arhadthedev, 2021-11-09 19:55
Messages (1)
msg406045 - (view) Author: Oleg Iarygin (arhadthedev) * Date: 2021-11-09 19:55
Found a twice stale bpo-less but useful pull request 23960, so publish it here:

> 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.
History
Date User Action Args
2021-11-09 19:55:56arhadthedevcreate