get_threads(): fix mypy typing

Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
This commit is contained in:
Yacine Elhamer
2023-06-09 09:03:49 +00:00
committed by mr-tz
parent 5189bef325
commit ee30acab32

View File

@@ -327,7 +327,7 @@ class DynamicExtractor(FeatureExtractor):
raise NotImplementedError()
@abc.abstractmethod
def get_threads(self, ph: ProcessHandle) -> Iterator[ProcessHandle]:
def get_threads(self, ph: ProcessHandle) -> Iterator[ThreadHandle]:
"""
Yields all the threads that a process created.