aboutsummaryrefslogtreecommitdiff
path: root/src/Timers.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-11 19:12:59 +0000
committerGravatar jesopo2018-11-11 19:12:59 +0000
commit8b135d8310e117ccf1c7ad799586ff6de1eadec2 (patch)
tree44a57908a6e61443512a594b0dfbd12c1eb22c42 /src/Timers.py
parentAdd missing imports and `Channel` namespacing to src/IRCChannel.py (diff)
signature
Add type annotionations to src/Timers.py and src/IRCBuffer.py
Diffstat (limited to 'src/Timers.py')
-rw-r--r--src/Timers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Timers.py b/src/Timers.py
index 69082b40..9408bdac 100644
--- a/src/Timers.py
+++ b/src/Timers.py
@@ -37,8 +37,8 @@ class Timers(object):
self.database = database
self.events = events
self.log = log
- self.timers = []
- self.context_timers = {}
+ self.timers = [] # type: typing.List[Timer]
+ self.context_timers = {} # type: typing.Dict[str, typing.List[Timer]]
def new_context(self, context: str) -> "TimersContext":
return TimersContext(self, context)