From fb07813a552a9a7dc0f089995ce4382b09a61a43 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 19 Aug 2003 10:46:52 +0000 Subject: [PATCH] Added docstring for PrivmsgCommandAndRegexp --- src/callbacks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/callbacks.py b/src/callbacks.py index 25d3d4267..af6e1aaed 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -492,6 +492,10 @@ class PrivmsgRegexp(Privmsg): class PrivmsgCommandAndRegexp(Privmsg): + """Same as Privmsg, except allows the user to also include regexp-based + callbacks. All regexp-based callbacks must be specified in a sets.Set + (or list) attribute "regexps". + """ flags = re.I regexps = sets.Set() def __init__(self):