diff --git a/plugin/core/signature_help.py b/plugin/core/signature_help.py index 917db508f..aa94b6084 100644 --- a/plugin/core/signature_help.py +++ b/plugin/core/signature_help.py @@ -8,7 +8,6 @@ from .views import FORMAT_STRING from .views import MarkdownLangMap from .views import minihtml -from typing import cast import functools import html import re @@ -170,7 +169,7 @@ def _parameter_documentation(self, view: sublime.View, signature: SignatureInfor if not parameters: return None try: - active_parameter = cast(Uint, signature.get("activeParameter")) + active_parameter = signature.get("activeParameter") parameter = parameters[active_parameter or self._active_parameter_index] except IndexError: return None