From: Fred Drake Date: Fri, 19 Oct 2001 17:22:29 +0000 (+0000) Subject: When stating that some parameters to makefile() are similar to the open() X-Git-Tag: v2.2.1c1~1147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aad8bb5d7ab0b963f97185f378f2d4e5ccfbe41a;p=python 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. --- diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index ed82e5502d..e8109ebb6e 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}}