Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Docstrings

  • Loading branch information...
commit a87c1d14a366f5f32515657df2f9eebfe0f9bc9e 1 parent cf9f6a5
@richo richo authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 ircSocket.py
View
5 ircSocket.py
@@ -57,6 +57,9 @@ def _load_modules():
RE_INFO_MATCH = re.compile(r":([^! ]+)!([^@ ]+)@([A-Za-z0-9_\.-]+)")
class irc_data(object):
+ """A proxy to coerce datatypes more appropriately for comparisons,
+ ultimately delegating to the data itself if it can't find anything better
+ to do with it"""
def __init__(self, data):
self.data = data
@@ -75,6 +78,7 @@ def __eq__(self, cmp):
class Message(object):
+ """Reprsentation of a single message from an ircd"""
def __init__(self, msg):
self.msg = msg
self.data_segment = None
@@ -151,6 +155,7 @@ def dump(self):
"--"])
class chatnet(object):
+ """Representation of a single connection to an ircd"""
def __init__(self, host, port=6667, use_ssl=False):
self.auth_host = ''
self.auth_hash = ''
Please sign in to comment.
Something went wrong with that request. Please try again.