summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libmmap.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-24 07:17:35 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-24 07:17:35 (GMT)
commita6161e476dc862464f8c55a92bc101d8241af54f (patch)
treeb329934de126809265e649c3a3da992e63aeaef8 /Doc/lib/libmmap.tex
parent98fa1ca6cacde3af0bce3dfcf753a0048d742854 (diff)
downloadcpython-a6161e476dc862464f8c55a92bc101d8241af54f.zip
cpython-a6161e476dc862464f8c55a92bc101d8241af54f.tar.gz
cpython-a6161e476dc862464f8c55a92bc101d8241af54f.tar.bz2
backport bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix
Diffstat (limited to 'Doc/lib/libmmap.tex')
-rw-r--r--Doc/lib/libmmap.tex1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/lib/libmmap.tex b/Doc/lib/libmmap.tex
index d0fbf88..8e531b1 100644
--- a/Doc/lib/libmmap.tex
+++ b/Doc/lib/libmmap.tex
@@ -130,6 +130,7 @@ Memory-mapped file objects support the following methods:
\end{methoddesc}
\begin{methoddesc}{resize}{\var{newsize}}
+ Resizes the map and the underlying file, if any.
If the mmap was created with \constant{ACCESS_READ} or
\constant{ACCESS_COPY}, resizing the map will throw a \exception{TypeError} exception.
\end{methoddesc}