This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients arhadthedev, docs@python, pitrou, terry.reedy, xuhdev
Date 2021-11-12.22:14:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Filter, map, and zip are documented as functions to allow other interpreters to implement them as such, with generator functions.  That does not apply here, but maybe there is another reason for socket being called a 'function.

Antoine, git blame credits you with socket.rst, line 565
.. function:: socket(family=AF_INET, type=SOCK_STREAM, proto=0, fileno=None)

PR-23960 changes 'function' to 'class'.  What do you think?
Date User Action Args
2021-11-12 22:14:07terry.reedysetrecipients: + terry.reedy, pitrou, docs@python, xuhdev, arhadthedev
2021-11-12 22:14:07terry.reedysetmessageid: <>
2021-11-12 22:14:07terry.reedylinkissue45772 messages
2021-11-12 22:14:07terry.reedycreate