Add note about fileno not being usable as a normal file descriptor in Windows.

This commit is contained in:
Brett Cannon 2003-08-05 03:51:24 +00:00
parent e0c1740bc5
commit b278ac4e46
1 changed files with 4 additions and 0 deletions

View File

@ -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}{}