Updated the docstring for utils.delay since it can also accept a float as well as an int.

This commit is contained in:
Griatch 2016-01-16 16:36:51 +01:00
parent 5d6d13bb12
commit 8d672a8e9d

View file

@ -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