Skip to content

Commit 32dff7a

Browse files
committed
chore: Change return type to actual type (tuple, not sequence)
1 parent 9c5c653 commit 32dff7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mkdocstrings_handlers/python/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def render(self, data: CollectorItem, config: dict) -> str: # noqa: D102 (ignor
323323
**{"config": final_config, data["category"]: data, "heading_level": heading_level, "root": True},
324324
)
325325

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

0 commit comments

Comments
 (0)