summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-12-23 13:36:48 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-12-23 13:36:48 +0100
commit2e2aa5fc6e4ad31b52aaef236ed54a3b9ea59a5d (patch)
treebf3311a9fa977ef6da7a044b7dc035386751da0d /apt
parent2cc697efb0bad365973c9dbfbd88fc7bb90b7a8f (diff)
downloadpython-apt-2e2aa5fc6e4ad31b52aaef236ed54a3b9ea59a5d.tar.gz
* apt/cache.py:
- improved docstring for the cache
Diffstat (limited to 'apt')
-rw-r--r--apt/cache.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/apt/cache.py b/apt/cache.py
index fa6c404c..aa38999d 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -43,7 +43,12 @@ class Cache(object):
"""Dictionary-like package cache.
This class has all the packages that are available in it's
- dictionary
+ dictionary.
+
+ Keyword arguments:
+ progress -- a OpProgress object
+ rootdir -- a alternative root directory
+ memonly -- build the cache in memory only
"""
def __init__(self, progress=None, rootdir=None, memonly=False):