mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
get_threads(): fix mypy typing
Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user