summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-08-05 13:43:08 (GMT)
committerFred Drake <fdrake@acm.org>1999-08-05 13:43:08 (GMT)
commitd3fbdfd007efc8c0e64e1dbb97f1b3992a23e361 (patch)
tree6ccf4893acfebca990c2037b409aa2bdcee4df54
parent8c9fc00f8dc1b5293906aadbb2dee0f4e414a481 (diff)
downloadcpython-d3fbdfd007efc8c0e64e1dbb97f1b3992a23e361.zip
cpython-d3fbdfd007efc8c0e64e1dbb97f1b3992a23e361.tar.gz
cpython-d3fbdfd007efc8c0e64e1dbb97f1b3992a23e361.tar.bz2
Add index entries for open():
buffer size, I/O I/O control, buffering line-buffered I/O unbuffered I/O
-rw-r--r--Doc/lib/libfuncs.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 0506690..ae4af6c 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -443,7 +443,10 @@ one argument, return the smallest of the arguments.
binary file, you should append \code{'b'} to the \var{mode} value
for improved portability. (It's useful even on systems which don't
treat binary and text files differently, where it serves as
- documentation.) The optional \var{bufsize} argument specifies the
+ documentation.)
+ \index{line-buffered I/O}\index{unbuffered I/O}\index{buffer size, I/O}
+ \index{I/O control!buffering}
+ The optional \var{bufsize} argument specifies the
file's desired buffer size: 0 means unbuffered, 1 means line
buffered, any other positive value means use a buffer of
(approximately) that size. A negative \var{bufsize} means to use