diff options
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r-- | Doc/library/socket.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 9a3af1d71b..d7164dae1d 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) |