mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-26 04:32:51 +01:00
ChannelState: add __repr__
This commit is contained in:
parent
07fa53d128
commit
c8a9163f57
@ -76,6 +76,9 @@ class ChannelState(collections.abc.MutableMapping):
|
||||
def __contains__(self, key):
|
||||
return self._data.__contains__(self._keymangle(key))
|
||||
|
||||
def __repr__(self):
|
||||
return "ChannelState(%s)" % self._data.keys()
|
||||
|
||||
class PyLinkNetworkCore(utils.DeprecatedAttributesObject, utils.CamelCaseToSnakeCase):
|
||||
"""Base IRC object for PyLink."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user