From 8d672a8e9dadc18b8a6e54c6c8b876e03088c26e Mon Sep 17 00:00:00 2001 From: Griatch Date: Sat, 16 Jan 2016 16:36:51 +0100 Subject: [PATCH] Updated the docstring for utils.delay since it can also accept a float as well as an int. --- 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 8e14acf304..1e5cc1d868 100644 --- a/evennia/utils/utils.py +++ b/evennia/utils/utils.py @@ -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