mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
merge 3.4 (#21404)
This commit is contained in:
commit
33919e8423
2 changed files with 5 additions and 0 deletions
|
@ -81,6 +81,10 @@ Some facts and figures:
|
||||||
If *fileobj* is specified, it is used as an alternative to a :term:`file object`
|
If *fileobj* is specified, it is used as an alternative to a :term:`file object`
|
||||||
opened in binary mode for *name*. It is supposed to be at position 0.
|
opened in binary mode for *name*. It is supposed to be at position 0.
|
||||||
|
|
||||||
|
For modes ``'w:gz'``, ``'r:gz'``, ``'w:bz2'``, ``'r:bz2'``, :func:`tarfile.open`
|
||||||
|
accepts the keyword argument *compresslevel* to specify the compression level of
|
||||||
|
the file.
|
||||||
|
|
||||||
For special purposes, there is a second format for *mode*:
|
For special purposes, there is a second format for *mode*:
|
||||||
``'filemode|[compression]'``. :func:`tarfile.open` will return a :class:`TarFile`
|
``'filemode|[compression]'``. :func:`tarfile.open` will return a :class:`TarFile`
|
||||||
object that processes its data as a stream of blocks. No random seeking will
|
object that processes its data as a stream of blocks. No random seeking will
|
||||||
|
|
|
@ -196,6 +196,7 @@ Roger Burnham
|
||||||
Alastair Burt
|
Alastair Burt
|
||||||
Tarn Weisner Burton
|
Tarn Weisner Burton
|
||||||
Lee Busby
|
Lee Busby
|
||||||
|
Katherine Busch
|
||||||
Ralph Butler
|
Ralph Butler
|
||||||
Nicolas Cadou
|
Nicolas Cadou
|
||||||
Jp Calderone
|
Jp Calderone
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue