📝 Fix a typo in the docs
This commit is contained in:
1 parent
959b8637db
commit
e82eced346
1 file changed
+1
-1
@@ -1567,7 +1567,7 @@ class ResettableTimer(threading.Thread):
|
||||
def hello():
|
||||
print("Ran hello() at {}").format(time.time())
|
||||
|
||||
t = ResettableTimers(60.0, hello)
|
||||
t = ResettableTimer(60.0, hello)
|
||||
t.start()
|
||||
print("Started at {}").format(time.time())
|
||||
time.sleep(30)
|
||||
|
||||
Reference in new issue
Block a user