summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-08-27 14:33:55 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-08-27 14:33:55 +0200
commit1ce91d4909f2678430715163a76e9416ddb8a616 (patch)
treea455089f112323eee2d7ee880aca79c27273e9c7 /python
parent30505be641ba127ef66b84619fc8a7dc9d7350f2 (diff)
downloadpython-apt-1ce91d4909f2678430715163a76e9416ddb8a616.tar.gz
python/cache.cc: doc update for provides_list
Diffstat (limited to 'python')
-rw-r--r--python/cache.cc5
1 files changed, 2 insertions, 3 deletions
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"