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:
|
Args:
|
||||||
number (int): The number to convert. Floats will be converted to ints.
|
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.
|
up to twelve.
|
||||||
Return:
|
Return:
|
||||||
str: The number expressed as a string.
|
str: The number expressed as a string.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue