summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-05-13 04:55:24 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-05-13 04:55:24 (GMT)
commit752abd0d3cc66f84f551650b8424248b202a16a4 (patch)
treef5302f8a246115f3f61a1414a94c8d2ce12a3a01 /Doc/library/socket.rst
parent8321f978918e3ae4de18672770c6504dcae82343 (diff)
downloadcpython-752abd0d3cc66f84f551650b8424248b202a16a4.zip
cpython-752abd0d3cc66f84f551650b8424248b202a16a4.tar.gz
cpython-752abd0d3cc66f84f551650b8424248b202a16a4.tar.bz2
Convert a lot of print statements to print functions in docstrings,
documentation, and unused/rarely used functions.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 9a3af1d..d7164da 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -866,7 +866,7 @@ the interface::
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)
# receive a package
- print s.recvfrom(65565)
+ print(s.recvfrom(65565))
# disabled promiscuous mode
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_OFF)