appropriate symbols type hinting

This commit is contained in:
Abyss Watcher
2025-01-18 14:48:46 +01:00
parent 0849c163a1
commit d46cb3328d
+2 -2
View File
@@ -303,8 +303,8 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface):
"""Determines whether an enumeration is present in the module's symbol table."""
@abstractmethod
def symbols(self) -> List:
"""Lists the symbols contained in the symbol table for this module"""
def symbols(self) -> Iterable[str]:
"""Returns an iterable of the symbols contained in the symbol table for this module"""
@abstractmethod
def get_symbols_by_absolute_location(self, offset: int, size: int = 0) -> List[str]: