Typo in src/IRCChannel.py, 'Iterable' -> 'typing.Iterable'

This commit is contained in:
jesopo 2018-11-11 12:43:39 +00:00
parent 0248c7503a
commit 245c4599dd

View file

@ -164,7 +164,7 @@ class Channels(object):
self._events = events
self._channels = {} # type: typing.Dict[str, Channel]
def __iter__(self) -> Iterable[Channel]:
def __iter__(self) -> typing.Iterable[Channel]:
return (channel for channel in self._channels.values())
def __contains__(self, name: str) -> bool:
return self.contains(name)