Skip to content

Commit 42fe37e

Browse files
committed
Adjust docstring to the new retuned type.
1 parent 38e9b6b commit 42fe37e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

volatility3/framework/plugins/linux/capabilities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def _decode_cap(cap: interfaces.objects.ObjectInterface) -> str:
126126
def get_task_capabilities(
127127
cls, task: interfaces.objects.ObjectInterface
128128
) -> Tuple[TaskData, CapabilitiesData]:
129-
"""Returns a dict with the task basic information along with its capabilities
129+
"""Returns a tuple with the task basic information along with its capabilities
130130
131131
Args:
132132
task: A task object from where to get the fields.
@@ -161,7 +161,7 @@ def get_task_capabilities(
161161
def get_tasks_capabilities(
162162
cls, tasks: List[interfaces.objects.ObjectInterface]
163163
) -> Iterable[Tuple[TaskData, CapabilitiesData]]:
164-
"""Yields a dict for each task containing the task's basic information along with its capabilities
164+
"""Yields a tuple for each task containing the task's basic information along with its capabilities
165165
166166
Args:
167167
tasks: An iterable with the tasks to process.

0 commit comments

Comments
 (0)