Clarify func_queue type (IRCBot.py)

This commit is contained in:
jesopo 2018-12-02 10:08:58 +00:00
parent 10f84f970d
commit 50ced296d1

View file

@ -43,7 +43,7 @@ class Bot(object):
self.lock.acquire() self.lock.acquire()
func_queue = queue.Queue(1) func_queue = queue.Queue(1) # type: queue.Queue[str]
self._trigger_functions.append([func, func_queue]) self._trigger_functions.append([func, func_queue])
self.lock.release() self.lock.release()