removed rtype and param typing from doc strings to help avoid maintaining duplicate information provided by type hints

This commit is contained in:
Blake Harnden 2020-01-16 11:00:57 -08:00
parent 9d89877b20
commit f4ddf310a8
32 changed files with 1091 additions and 1357 deletions

View file

@ -51,8 +51,7 @@ class Timer(threading.Thread):
the timer was already running.
:return: True if canceled, False otherwise
:rtype: bool
"""
"""
locked = self._running.acquire(False)
if locked:
self.finished.set()
@ -218,13 +217,12 @@ class EventLoop:
"""
Add an event to the event loop.
:param float delaysec: delay in seconds for event
:param delaysec: delay in seconds for event
:param func: event function
:param args: event arguments
:param kwds: event keyword arguments
:return: created event
:rtype: Event
"""
"""
with self.lock:
eventnum = self.eventnum
self.eventnum += 1