summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-19 17:22:29 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-19 17:22:29 (GMT)
commitaad8bb5d7ab0b963f97185f378f2d4e5ccfbe41a (patch)
treeb953077d13dcddf6f1571a4bb336b610d9c74521 /Doc
parent51e4f1fc46b56753dd9a8c72de3e5c885c3f804c (diff)
downloadcpython-aad8bb5d7ab0b963f97185f378f2d4e5ccfbe41a.zip
cpython-aad8bb5d7ab0b963f97185f378f2d4e5ccfbe41a.tar.gz
cpython-aad8bb5d7ab0b963f97185f378f2d4e5ccfbe41a.tar.bz2
When stating that some parameters to makefile() are similar to the open()
parameters, given a hyperlink to the right part of the documentation to make it easier to look those up. Also, refer to the file() function/ constructor instead of open() now that that is where the actual docs for those parameters live. This closes SF bug #472004.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libsocket.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index ed82e55..e8109eb 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -452,7 +452,8 @@ socket file descriptor, so the file object and socket object may be
closed or garbage-collected independently.
\index{I/O control!buffering}The optional \var{mode}
and \var{bufsize} arguments are interpreted the same way as by the
-built-in \function{open()} function.
+built-in \function{file()} function; see ``Built-in Functions''
+(section \ref{built-in-funcs}) for more information.
\end{methoddesc}
\begin{methoddesc}[socket]{recv}{bufsize\optional{, flags}}