From 3684edb17218390667ad5bbd94ad7f165fde4c00 Mon Sep 17 00:00:00 2001 From: InspectorCaracal <51038201+InspectorCaracal@users.noreply.github.com> Date: Sat, 6 Apr 2024 19:38:35 -0600 Subject: [PATCH] fix int2str docstring --- evennia/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/utils/utils.py b/evennia/utils/utils.py index 377d31958d..cc92baee47 100644 --- a/evennia/utils/utils.py +++ b/evennia/utils/utils.py @@ -2885,7 +2885,7 @@ def int2str(number, adjective=False): Args: number (int): The number to convert. Floats will be converted to ints. - adjective (int): If set, map 1->1st, 2->2nd etc. If unset, map 1->one, 2->two etc. + adjective (bool): If True, map 1->1st, 2->2nd etc. If unset or False, map 1->one, 2->two etc. up to twelve. Return: str: The number expressed as a string.