Slightly improve docstrings

This commit is contained in:
Chris Jones 2010-01-18 13:23:50 +00:00
parent f015aaebf4
commit f17fab0610
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/python #!/usr/bin/python
# Terminator by Chris Jones <cmsj@tenshu.net> # Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only # GPL v2 only
"""signalman.py - class providing a glib signal tracker""" """Simple management of Gtk Widget signal handlers"""
from util import dbg, err from util import dbg, err
@ -15,7 +15,7 @@ class Signalman(object):
self.cnxids = {} self.cnxids = {}
def __del__(self): def __del__(self):
"""Class destructor""" """Class destructor. This is only used to check for stray signals"""
if len(self.cnxids.keys()) > 0: if len(self.cnxids.keys()) > 0:
err('Signals remain. This is likely a bug: %s' % self.cnxids) err('Signals remain. This is likely a bug: %s' % self.cnxids)