diff options
author | Brett Cannon <bcannon@gmail.com> | 2003-08-05 03:51:24 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2003-08-05 03:51:24 (GMT) |
commit | b278ac4e46043809447116c19262efd33d7f742f (patch) | |
tree | 297e566cbd88bb9d508f9205da83ab07c9744fc1 /Doc | |
parent | e0c1740bc5cbc36ae5d05b87aa0358f5b1082c96 (diff) | |
download | cpython-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.tex | 4 |
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}{} |