diff options
| author | Josh F <josh@vector35.com> | 2022-04-22 19:12:23 -0400 |
|---|---|---|
| committer | Josh F <josh@vector35.com> | 2022-04-22 19:12:23 -0400 |
| commit | 7051f9fecd395ddae07ee3b49785b1895e8206e1 (patch) | |
| tree | c0131373e6316fc41a02b6ccd415cf1690958a14 /python/lineardisassembly.py | |
| parent | f31869ba3d53a542682cb52cf6af5ac111a79988 (diff) | |
Fix type annotation for single_function_language_representation
Diffstat (limited to 'python/lineardisassembly.py')
| -rw-r--r-- | python/lineardisassembly.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/lineardisassembly.py b/python/lineardisassembly.py index ddc8fd5d..9ec6619d 100644 --- a/python/lineardisassembly.py +++ b/python/lineardisassembly.py @@ -453,12 +453,12 @@ class LinearViewObject: @staticmethod def single_function_language_representation( - view: 'binaryview.BinaryView', settings: Optional['_function.DisassemblySettings'] = None + func: '_function.Function', settings: Optional['_function.DisassemblySettings'] = None ) -> 'LinearViewObject': _settings = settings if _settings is not None: _settings = _settings.handle - return LinearViewObject(core.BNCreateLinearViewSingleFunctionLanguageRepresentation(view.handle, _settings)) + return LinearViewObject(core.BNCreateLinearViewSingleFunctionLanguageRepresentation(func.handle, _settings)) class LinearViewCursor: |
