Skip to content

Commit

Permalink
chore: Change return type to actual type (tuple, not sequence)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Aug 21, 2023
1 parent 9c5c653 commit 32dff7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkdocstrings_handlers/python/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def render(self, data: CollectorItem, config: dict) -> str: # noqa: D102 (ignor
**{"config": final_config, data["category"]: data, "heading_level": heading_level, "root": True},
)

def get_anchors(self, data: CollectorItem) -> Sequence[str]: # noqa: D102 (ignore missing docstring)
def get_anchors(self, data: CollectorItem) -> tuple[str, ...]: # noqa: D102 (ignore missing docstring)
try:
return (data["path"],)
except KeyError:
Expand Down

0 comments on commit 32dff7a

Please sign in to comment.