In the documentation for sockets (https://docs.python.org/3/library/socket.html) socket — Low-level networking interface — Python 3.10.4 documentationhttps://docs.python.org/3/library/socket.html The Python interface is a straightforward transliteration of the Unix system call and library interface for sockets to Python’s object-oriented style: the socket() function returns a socket object whose methods implement the various socket system calls. Parameter types are somewhat higher-level than in the C interface: as with read() and write() operations on Python files, buffer allocation ... docs.python.org there are examples with comments like: # receive all packages and # receive a package These should say "packets" or "packet". Prof. Victor Norman Computer Science Calvin College University vtn2@calvin.edumailto:vnorman@calvin.edu ----- "A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away." -- Antoine de Saint Exupéry
Hi Victor,
there are examples with comments like:
# receive all packages
and
# receive a package
These should say "packets" or "packet".
Looks like you're right! Would you like to open a pull request to fix this? The file is here: => https://github.com/python/cpython/blob/main/Doc/library/socket.rst Bests, -- Julien Palard https://mdk.fr
participants (2)
-
Julien Palard
-
Victor Norman