summaryrefslogtreecommitdiff
path: root/doc/source/library
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-06-10 12:02:41 +0200
committerJulian Andres Klode <jak@debian.org>2015-06-10 12:02:41 +0200
commitab39c5fd9906b72e86b1b3dd82b7b5a476e3c4f5 (patch)
treeaca6c051afb97e6f8d8b858932fb120e922cb635 /doc/source/library
parent71e5ac2cc7d08de11e4adddd4f8fbd26a04cfd73 (diff)
downloadpython-apt-ab39c5fd9906b72e86b1b3dd82b7b5a476e3c4f5.tar.gz
doc: Prepare for 1.0 release
Change the whatsnew page to a two-component variant (1.0, so we do not get bug fix releases mixed in there, and update the pages for the changes planned for 1.0. Not all have been committed yet, though.
Diffstat (limited to 'doc/source/library')
-rw-r--r--doc/source/library/apt_pkg.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst
index f8ba186a..fd505b20 100644
--- a/doc/source/library/apt_pkg.rst
+++ b/doc/source/library/apt_pkg.rst
@@ -787,6 +787,11 @@ Resolving Dependencies with :class:`ProblemResolver`
The section of the package, as specified in the record. The list of
possible sections is defined in the Policy. This is a string.
+ .. deprecated:: 1.0
+
+ A package can have multiple versions with different sections, so
+ the section information should be accessed from the version class.
+
.. attribute:: version_list
A list of :class:`Version` objects for all versions of this package
@@ -1481,6 +1486,8 @@ Records (Release files, Packages, Sources)
``(str: md5, int: size, str: path, str:type)``, where
'type' can be 'diff' (includes .debian.tar.gz), 'dsc', 'tar'.
+ .. deprecated: 1.0
+
.. attribute:: index
A list of :class:`IndexFile` objects associated with this