mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 01:36:32 +01:00
Updated the docstring for utils.delay since it can also accept a float as well as an int.
This commit is contained in:
parent
5d6d13bb12
commit
8d672a8e9d
1 changed files with 1 additions and 1 deletions
|
|
@ -720,7 +720,7 @@ def delay(delay=2, callback=None, retval=None):
|
|||
Delay the return of a value.
|
||||
|
||||
Args:
|
||||
delay (int): The delay in seconds
|
||||
delay (int or float): The delay in seconds
|
||||
callback (callable, optional): Will be called without arguments
|
||||
or with `retval` after delay seconds.
|
||||
retval (any, optional): Whis will be returned by this function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue