summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2003-08-05 03:51:24 (GMT)
committerBrett Cannon <bcannon@gmail.com>2003-08-05 03:51:24 (GMT)
commitb278ac4e46043809447116c19262efd33d7f742f (patch)
tree297e566cbd88bb9d508f9205da83ab07c9744fc1 /Doc
parente0c1740bc5cbc36ae5d05b87aa0358f5b1082c96 (diff)
downloadcpython-b278ac4e46043809447116c19262efd33d7f742f.zip
cpython-b278ac4e46043809447116c19262efd33d7f742f.tar.gz
cpython-b278ac4e46043809447116c19262efd33d7f742f.tar.bz2
Add note about fileno not being usable as a normal file descriptor in Windows.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libsocket.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index 199b97f..de2f51d 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -480,6 +480,10 @@ This was never intentional and is no longer be available in Python
\begin{methoddesc}[socket]{fileno}{}
Return the socket's file descriptor (a small integer). This is useful
with \function{select.select()}.
+
+Under Windows the small integer returned by this method cannot be used where
+a file descriptor can be used (such as \function{os.fdopen()}). \UNIX{} does
+not have this limitation.
\end{methoddesc}
\begin{methoddesc}[socket]{getpeername}{}