]> granicus.if.org Git - python/commitdiff
#6591: add reference to ioctl in fcntl module for platforms other than Windows.
authorGeorg Brandl <georg@python.org>
Wed, 29 Jul 2009 16:09:17 +0000 (16:09 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 29 Jul 2009 16:09:17 +0000 (16:09 +0000)
Doc/library/socket.rst

index b59b60902db6c8d79b879d50a9f7f6cec1c7ed3d..e50849dd1c54635ed5fed743b339f840c72c7c6a 100644 (file)
@@ -599,6 +599,9 @@ correspond to Unix system calls applicable to sockets.
    The :meth:`ioctl` method is a limited interface to the WSAIoctl system
    interface. Please refer to the MSDN documentation for more information.
 
+   On other platforms, the generic :func:`fcntl.fcntl` and :func:`fcntl.ioctl`
+   functions may be used; they accept a socket object as their first argument.
+
    .. versionadded:: 2.6