Kaydet (Commit) b278ac4e authored tarafından Brett Cannon's avatar Brett Cannon

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

üst e0c1740b
...@@ -480,6 +480,10 @@ This was never intentional and is no longer be available in Python ...@@ -480,6 +480,10 @@ This was never intentional and is no longer be available in Python
\begin{methoddesc}[socket]{fileno}{} \begin{methoddesc}[socket]{fileno}{}
Return the socket's file descriptor (a small integer). This is useful Return the socket's file descriptor (a small integer). This is useful
with \function{select.select()}. 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} \end{methoddesc}
\begin{methoddesc}[socket]{getpeername}{} \begin{methoddesc}[socket]{getpeername}{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment