diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-03-05 12:47:42 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-03-05 12:47:42 (GMT) |
commit | 78be7df9e46ffff4ff97f25a0d68e6bb26e8fe3e (patch) | |
tree | 0d3bd832a57847b4718940c70b5d5ec4124e2432 /Doc/lib/libtarfile.tex | |
parent | 409d8f2ebdf597837c593a40659949e5b15f457d (diff) | |
download | cpython-78be7df9e46ffff4ff97f25a0d68e6bb26e8fe3e.zip cpython-78be7df9e46ffff4ff97f25a0d68e6bb26e8fe3e.tar.gz cpython-78be7df9e46ffff4ff97f25a0d68e6bb26e8fe3e.tar.bz2 |
Patch #918101: Add tarfile open mode r|* for auto-detection of the
stream compression; add, for symmetry reasons, r:* as a synonym of r.
Diffstat (limited to 'Doc/lib/libtarfile.tex')
-rw-r--r-- | Doc/lib/libtarfile.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libtarfile.tex b/Doc/lib/libtarfile.tex index 018e8b9..9088473 100644 --- a/Doc/lib/libtarfile.tex +++ b/Doc/lib/libtarfile.tex @@ -32,7 +32,7 @@ Some facts and figures: it defaults to \code{'r'}. Here is a full list of mode combinations: \begin{tableii}{c|l}{code}{mode}{action} - \lineii{'r'}{Open for reading with transparent compression (recommended).} + \lineii{'r' or 'r:*'}{Open for reading with transparent compression (recommended).} \lineii{'r:'}{Open for reading exclusively without compression.} \lineii{'r:gz'}{Open for reading with gzip compression.} \lineii{'r:bz2'}{Open for reading with bzip2 compression.} @@ -65,6 +65,7 @@ Some facts and figures: (section~\ref{tar-examples}). The currently possible modes: \begin{tableii}{c|l}{code}{Mode}{Action} + \lineii{'r|*'}{Open a \emph{stream} of tar blocks for reading with transparent compression.} \lineii{'r|'}{Open a \emph{stream} of uncompressed tar blocks for reading.} \lineii{'r|gz'}{Open a gzip compressed \emph{stream} for reading.} \lineii{'r|bz2'}{Open a bzip2 compressed \emph{stream} for reading.} |