Skip to content

Commit

Permalink
fix func return type
Browse files Browse the repository at this point in the history
  • Loading branch information
emdneto committed Jul 22, 2024
1 parent a725145 commit ddab6ac
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,7 @@ def instrumented_urlopen(wrapped, instance, args, kwargs):
)


def _get_url_open_arg(
name: str, args: typing.List, kwargs: typing.Mapping
) -> str:
def _get_url_open_arg(name: str, args: typing.List, kwargs: typing.Mapping):
arg_idx = _URL_OPEN_ARG_TO_INDEX_MAPPING.get(name)
if arg_idx is not None:
try:
Expand Down

0 comments on commit ddab6ac

Please sign in to comment.