diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-06-29 16:10:40 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-06-29 16:10:40 +0200 |
| commit | 794e9321c92aab78c3b7123d765967ba67b79851 (patch) | |
| tree | 9886905374b0ae9bc0043f12be0797c6f8f0af35 /doc/source | |
| parent | 43aee9eda68e374067d6d6a9c4dd3c3e9b986041 (diff) | |
| parent | 6ec2e17ae6712655c1bacffa8c6ecde5f8810960 (diff) | |
| download | python-apt-794e9321c92aab78c3b7123d765967ba67b79851.tar.gz | |
merged from debian-sid
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() |
