Fixed a typo in the RepeatedTimer docs
This commit is contained in:
parent
1c1e6b45b6
commit
18dd1659da
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,7 @@ class RepeatedTimer(threading.Thread):
|
|||
def hello():
|
||||
print("Hello World!")
|
||||
|
||||
t = Timer(1.0, hello)
|
||||
t = RepeatedTimer(1.0, hello)
|
||||
t.start() # prints "Hello World!" every second
|
||||
|
||||
Arguments:
|
||||
|
|
|
|||
Loading…
Reference in a new issue