mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3490 from InspectorCaracal/patch-21
Fix int2str docstring
This commit is contained in:
commit
f701f53876
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue