fixed formatting in docs due
This commit is contained in:
parent
5490f961a6
commit
b8ded52a66
23 changed files with 106 additions and 109 deletions
|
@ -51,7 +51,7 @@ class Timer(threading.Thread):
|
|||
the timer was already running.
|
||||
|
||||
:return: True if canceled, False otherwise
|
||||
"""
|
||||
"""
|
||||
locked = self._running.acquire(False)
|
||||
if locked:
|
||||
self.finished.set()
|
||||
|
@ -222,7 +222,7 @@ class EventLoop:
|
|||
:param args: event arguments
|
||||
:param kwds: event keyword arguments
|
||||
:return: created event
|
||||
"""
|
||||
"""
|
||||
with self.lock:
|
||||
eventnum = self.eventnum
|
||||
self.eventnum += 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue