diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-10-11 09:27:44 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-10-11 14:59:24 -0400 |
| commit | 259ef273531f53ee73fe53ea8b147fe59326a31b (patch) | |
| tree | 222171b5c373b3e333fee5f49eacf71090758b36 /python/function.py | |
| parent | 505361f21eab244a2921ea1af894c212b3875b86 (diff) | |
Revert 'mlils' back to list instead of Generator
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/function.py b/python/function.py index a43fe89d..6cefd682 100644 --- a/python/function.py +++ b/python/function.py @@ -65,7 +65,7 @@ ILFunctionType = Union['lowlevelil.LowLevelILFunction', 'mediumlevelil.MediumLev 'highlevelil.HighLevelILFunction'] ILInstructionType = Union['lowlevelil.LowLevelILInstruction', 'mediumlevelil.MediumLevelILInstruction', 'highlevelil.HighLevelILInstruction'] -StringOrType = Union[str, '_types.Type', '_types.TypeBuilder'] +StringOrType = Union[str, 'types.Type', 'types.TypeBuilder'] def _function_name_(): return inspect.stack()[1][0].f_code.co_name @@ -909,7 +909,7 @@ class Function: return types.Type.create(core.BNNewTypeReference(result.type), platform = self.platform, confidence = result.confidence) @return_type.setter - def return_type(self, value:StringOrType) -> None: + def return_type(self, value:StringOrType) -> None: # type: ignore type_conf = core.BNTypeWithConfidence() if value is None: type_conf.type = None |
