From 1ce91d4909f2678430715163a76e9416ddb8a616 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 27 Aug 2010 14:33:55 +0200 Subject: python/cache.cc: doc update for provides_list --- python/cache.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'python/cache.cc') diff --git a/python/cache.cc b/python/cache.cc index e31f6a65..b153d1f2 100644 --- a/python/cache.cc +++ b/python/cache.cc @@ -573,9 +573,8 @@ static PyGetSetDef PackageGetSet[] = { {"rev_depends_list",PackageGetRevDependsList,0, "An apt_pkg.DependencyList object of all reverse dependencies."}, {"provides_list",PackageGetProvidesList,0, - "A list of all packages providing this package. The list contains\n" - "tuples in the format (providesname, providesver, version)\n" - "where 'version' is an apt_pkg.Version object."}, + "Ignore it, it does nothing. You want to use\n" + "apt_pkg.Version.provides_list instead."}, {"selected_state",PackageGetSelectedState,0, "The state of the selection, which can be compared against the constants\n" "SELSTATE_DEINSTALL, SELSTATE_HOLD, SELSTATE_INSTALL, SELSTATE_PURGE,\n" -- cgit v1.2.3 From 6d564eafe80ebe60c91587dd1bb70a666b70485d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 27 Aug 2010 15:01:44 +0200 Subject: python/cache.cc: improve documentation --- python/cache.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python/cache.cc') diff --git a/python/cache.cc b/python/cache.cc index b153d1f2..e87d73d4 100644 --- a/python/cache.cc +++ b/python/cache.cc @@ -978,8 +978,9 @@ static PyGetSetDef VersionGetSet[] = { {"priority_str",VersionGetPriorityStr,0, "The priority of the package, as a string."}, {"provides_list",VersionGetProvidesList,0, - "A list of all packages provided by this version. See\n" - "Package.provides_list for a description of the format."}, + "A list of all packages provided by this version. The list contains\n" + "tuples in the format (providesname, providesver, version)\n" + "where 'version' is an apt_pkg.Version object."}, {"section",VersionGetSection,0, "The section of this package version."}, {"size",VersionGetSize,0, -- cgit v1.2.3 From 3aaf50270475e0a2a5fc8e7783e2f8917f8ac327 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 7 Sep 2010 13:34:02 +0200 Subject: cherry pick -r453 from lp:~mvo/python-apt/debian-sid --- python/cache.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python/cache.cc') diff --git a/python/cache.cc b/python/cache.cc index e87d73d4..cd51fcc3 100644 --- a/python/cache.cc +++ b/python/cache.cc @@ -573,8 +573,9 @@ static PyGetSetDef PackageGetSet[] = { {"rev_depends_list",PackageGetRevDependsList,0, "An apt_pkg.DependencyList object of all reverse dependencies."}, {"provides_list",PackageGetProvidesList,0, - "Ignore it, it does nothing. You want to use\n" - "apt_pkg.Version.provides_list instead."}, + "A list of all packages providing this package. The list contains\n" + "tuples in the format (providesname, providesver, version)\n" + "where 'version' is an apt_pkg.Version object."}, {"selected_state",PackageGetSelectedState,0, "The state of the selection, which can be compared against the constants\n" "SELSTATE_DEINSTALL, SELSTATE_HOLD, SELSTATE_INSTALL, SELSTATE_PURGE,\n" -- cgit v1.2.3