Skip to content

Commit 917b498

Browse files
authored
add missing return section to docstring
1 parent 0a4bb39 commit 917b498

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

template/utils/_checks.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ def ensure_int(item: Any, item_name: str | None = None) -> int:
2626
item_name : str | None
2727
Name of the item to show inside the error message.
2828
29+
Returns
30+
-------
31+
item : int
32+
Item validated and converted to a Python integer.
33+
2934
Raises
3035
------
3136
TypeError

0 commit comments

Comments
 (0)