We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7223947 commit 6264c5cCopy full SHA for 6264c5c
src/docstub-stubs/_utils.pyi
@@ -22,4 +22,4 @@ class DocstubError(Exception):
22
23
_regex_digit: re.Pattern
24
25
-def naive_natsort_key(item: Any) -> tuple[str | int]: ...
+def naive_natsort_key(item: Any) -> tuple[str | int, ...]: ...
src/docstub/_utils.py
@@ -217,7 +217,7 @@ def naive_natsort_key(item):
217
218
Returns
219
-------
220
- key : tuple[str or int]
+ key : tuple[str | int, ...]
221
Key to sort by.
222
223
Examples
0 commit comments