summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-06-10 19:23:22 (GMT)
committerGuido van Rossum <guido@python.org>2002-06-10 19:23:22 (GMT)
commitdb9198a8b59377e9407811e571be8baca74d2475 (patch)
treee35c4b0e6f32ebdfcc805b4559bc25e0ae782986 /Doc/lib/libos.tex
parent7f147a772df2f03784d35ac7ef675cf2f2fd485d (diff)
downloadcpython-db9198a8b59377e9407811e571be8baca74d2475.zip
cpython-db9198a8b59377e9407811e571be8baca74d2475.tar.gz
cpython-db9198a8b59377e9407811e571be8baca74d2475.tar.bz2
SF bug 563750 (Alex Martelli): posix_tmpfile():
The file returned by tmpfile() has mode w+b, so use that in the call to PyFile_FromFile(). Bugfix candidate.
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index aafe7b1..c02d6a6 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -312,7 +312,7 @@ Availability: \UNIX, Windows.
\end{funcdesc}
\begin{funcdesc}{tmpfile}{}
-Return a new file object opened in update mode (\samp{w+}). The file
+Return a new file object opened in update mode (\samp{w+b}). The file
has no directory entries associated with it and will be automatically
deleted once there are no file descriptors for the file.
Availability: \UNIX, Windows.