summaryrefslogtreecommitdiff
path: root/doc/source/library
diff options
context:
space:
mode:
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