Skip to content

Commit 6264c5c

Browse files
committed
Fix return type
1 parent 7223947 commit 6264c5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/docstub-stubs/_utils.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ class DocstubError(Exception):
2222

2323
_regex_digit: re.Pattern
2424

25-
def naive_natsort_key(item: Any) -> tuple[str | int]: ...
25+
def naive_natsort_key(item: Any) -> tuple[str | int, ...]: ...

src/docstub/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def naive_natsort_key(item):
217217
218218
Returns
219219
-------
220-
key : tuple[str or int]
220+
key : tuple[str | int, ...]
221221
Key to sort by.
222222
223223
Examples

0 commit comments

Comments
 (0)