Typo in src/IRCChannel.py, 'Iterable' -> 'typing.Iterable'
This commit is contained in:
parent
0248c7503a
commit
245c4599dd
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class Channels(object):
|
||||||
self._events = events
|
self._events = events
|
||||||
self._channels = {} # type: typing.Dict[str, Channel]
|
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())
|
return (channel for channel in self._channels.values())
|
||||||
def __contains__(self, name: str) -> bool:
|
def __contains__(self, name: str) -> bool:
|
||||||
return self.contains(name)
|
return self.contains(name)
|
||||||
|
|
Loading…
Reference in a new issue