diff options
Diffstat (limited to 'Mailman/interfaces/rules.py')
| -rw-r--r-- | Mailman/interfaces/rules.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/interfaces/rules.py b/Mailman/interfaces/rules.py index 5ef741852..13edcf481 100644 --- a/Mailman/interfaces/rules.py +++ b/Mailman/interfaces/rules.py @@ -35,6 +35,7 @@ class IRule(Interface): def check(mlist, msg, msgdata): """Run the rule. + :param mlist: The mailing list object. :param msg: The message object. :param msgdata: The message metadata. :return: A boolean specifying whether the rule was matched or not. @@ -45,7 +46,7 @@ class IRule(Interface): class IRuleSet(Interface): """A rule processor.""" - rules = Attribute('The set of all rules this processor knows about') + rules = Attribute('The set of all rules this processor knows about.') def __getitem__(rule_name): """Return the named rule. |
