summaryrefslogtreecommitdiff
path: root/src/events.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-05-21 02:14:25 +0200
committermathieui <mathieui@mathieui.net>2012-05-21 02:14:25 +0200
commit0af1c7fe9a03be34e14ae8ecc332f6d1fa168511 (patch)
tree845d50087b964486c1274cbecf3ebda30a21de0f /src/events.py
parent837b46d68b10f5c6e9cc80e07e33fd025b51634b (diff)
downloadpoezio-0af1c7fe9a03be34e14ae8ecc332f6d1fa168511.tar.gz
poezio-0af1c7fe9a03be34e14ae8ecc332f6d1fa168511.tar.bz2
poezio-0af1c7fe9a03be34e14ae8ecc332f6d1fa168511.tar.xz
poezio-0af1c7fe9a03be34e14ae8ecc332f6d1fa168511.zip
Docstrings, and small cleanup
Diffstat (limited to 'src/events.py')
-rw-r--r--src/events.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/events.py b/src/events.py
index e66c5ee5..6ca8296d 100644
--- a/src/events.py
+++ b/src/events.py
@@ -5,7 +5,9 @@
# it under the terms of the zlib license. See the COPYING file.
"""
-Defines the EventHandler class
+Defines the EventHandler class.
+The list of available events is here:
+http://poezio.eu/doc/en/plugins.html#_poezio_events
"""
import logging
@@ -16,7 +18,7 @@ class EventHandler(object):
A class keeping a list of possible events that are triggered
by poezio. You (a plugin for example) can add an event handler
associated with an event name, and whenever that event is triggered,
- the callback is called
+ the callback is called.
"""
def __init__(self):
self.events = {