summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-05-10 16:26:03 (GMT)
committerGeorg Brandl <georg@python.org>2006-05-10 16:26:03 (GMT)
commit38c6a22f38a249d107691a79f2b16a62ba8c73be (patch)
treeaaa9629e2218d3098330ab19364c6981e36d7377 /Doc
parentf8d9a97ba2d673ef996e9f0bb0dbe7b29a7a4b1d (diff)
downloadcpython-38c6a22f38a249d107691a79f2b16a62ba8c73be.zip
cpython-38c6a22f38a249d107691a79f2b16a62ba8c73be.tar.gz
cpython-38c6a22f38a249d107691a79f2b16a62ba8c73be.tar.bz2
Patch #1484695: Update the tarfile module to version 0.8. This fixes
a couple of issues, notably handling of long file names using the GNU LONGNAME extension.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libtarfile.tex6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/lib/libtarfile.tex b/Doc/lib/libtarfile.tex
index a49942b..ca6e65a 100644
--- a/Doc/lib/libtarfile.tex
+++ b/Doc/lib/libtarfile.tex
@@ -334,8 +334,12 @@ the file's data itself.
Create and return a \class{TarInfo} object from a string buffer.
\end{methoddesc}
-\begin{methoddesc}{tobuf}{}
+\begin{methoddesc}{tobuf}{posix}
Create a string buffer from a \class{TarInfo} object.
+ See \class{TarFile}'s \member{posix} attribute for information
+ on the \var{posix} argument. It defaults to \constant{False}.
+
+ \versionadded[The \var{posix} parameter]{2.5}
\end{methoddesc}
A \code{TarInfo} object has the following public data attributes: