diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-06-26 13:43:22 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-06-26 13:43:22 +0200 |
| commit | 16d567434f4c9e25f0a58d62228b12872f7209a5 (patch) | |
| tree | 59c50961240c5121c712c697870ad4e41236f8cd /doc/source | |
| parent | 96b0facc6e57a39ad82f31bb1f248f0b8eed84ba (diff) | |
| parent | dfd6bacface878eecf3fec4876bdae2f0491a646 (diff) | |
| download | python-apt-16d567434f4c9e25f0a58d62228b12872f7209a5.tar.gz | |
merged from the debian branch
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/library/apt_pkg.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst index bba7491f..b5ee1a53 100644 --- a/doc/source/library/apt_pkg.rst +++ b/doc/source/library/apt_pkg.rst @@ -1904,7 +1904,7 @@ thereof and provides a function :func:`RewriteSection` which takes a :class:`TagSection()` object and sorting information and outputs a sorted section as a string. -.. class:: TagFile(file) +.. class:: TagFile(file, bytes: bool = False) An object which represents a typical debian control file. Can be used for Packages, Sources, control, Release, etc. Such an object provides two @@ -1921,6 +1921,10 @@ section as a string. .. versionchanged:: 0.7.100 Added support for using gzip files, via :class:`gzip.GzipFile` or any file containing a compressed gzip stream. + + .. versionadded:: 0.8.5 + + Added support for using bytes instead of str in Python 3 .. method:: next() |
