Fixed a typo in the RepeatedTimer docs
This commit is contained in:
1 parent
1c1e6b45b6
commit
18dd1659da
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user