Skip to content

Commit

Permalink
remove casting
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Jul 4, 2024
1 parent 39ad51a commit 0cf5c20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/core/signature_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0cf5c20

Please sign in to comment.