summaryrefslogtreecommitdiffstats
path: root/apt/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'apt/cache.py')
-rw-r--r--apt/cache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt/cache.py b/apt/cache.py
index cf78026..5893c0e 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -118,9 +118,9 @@ class Cache:
self._callbacks2: dict[
str, list[tuple[Callable[..., Any], tuple[Any, ...], dict[Any, Any]]]
] = {} # noqa
- self._weakref: weakref.WeakValueDictionary[
- str, apt.Package
- ] = weakref.WeakValueDictionary() # noqa
+ self._weakref: weakref.WeakValueDictionary[str, apt.Package] = (
+ weakref.WeakValueDictionary()
+ ) # noqa
self._weakversions: weakref.WeakSet[Version] = weakref.WeakSet() # noqa
self._changes_count = -1
self._sorted_set: list[str] | None = None