summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'apt/cache.py')
-rw-r--r--apt/cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt/cache.py b/apt/cache.py
index be137b76..49097dd2 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -507,7 +507,7 @@ class Cache(object):
self._callbacks[name].append(callback)
def actiongroup(self):
- """Return an ActionGroup() object for the current cache.
+ """Return an action group object for the current cache.
Action groups can be used to speedup actions. The action group is
active as soon as it is created, and disabled when the object is
@@ -520,7 +520,7 @@ class Cache(object):
for package in my_selected_packages:
package.mark_install()
- This way, the ActionGroup is automatically released as soon as the
+ This way, the action group is automatically released as soon as the
with statement block is left. It also has the benefit of making it
clear which parts of the code run with a action group and which
don't.