summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/mta.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-01-27 18:30:03 -0500
committerBarry Warsaw2012-01-27 18:30:03 -0500
commit78b9ea398e6671d94f958e625b640383f1d43a75 (patch)
tree8570a4109d5eec6c2f0ab201d8fd8177558e6682 /src/mailman/interfaces/mta.py
parent1655fcc1e8d1cb2e9ee19288c026c85b3b470a97 (diff)
downloadmailman-78b9ea398e6671d94f958e625b640383f1d43a75.tar.gz
mailman-78b9ea398e6671d94f958e625b640383f1d43a75.tar.zst
mailman-78b9ea398e6671d94f958e625b640383f1d43a75.zip
Diffstat (limited to 'src/mailman/interfaces/mta.py')
-rw-r--r--src/mailman/interfaces/mta.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mailman/interfaces/mta.py b/src/mailman/interfaces/mta.py
index e1567f377..34c210edd 100644
--- a/src/mailman/interfaces/mta.py
+++ b/src/mailman/interfaces/mta.py
@@ -50,6 +50,13 @@ class IMailTransportAgentAliases(Interface):
This method is a generator. The posting address will be returned
first, followed by the rest of the aliases in alphabetical order.
+
+ :param mlist: The mailing list.
+ :type mlist: An `IMailingList` or an object with `list_name`,
+ `mail_host`, and `posting_address` attributes.
+ :return: The set of fully qualified common aliases for the mailing
+ list.
+ :rtype: string
"""
def destinations(mlist):
@@ -57,6 +64,13 @@ class IMailTransportAgentAliases(Interface):
This method is a generator. The posting address will be returned
first, followed by the rest of the aliases in alphabetical order.
+
+ :param mlist: The mailing list.
+ :type mlist: An `IMailingList` or an object with a `list_name`
+ attribute.
+ :return: The set of short (i.e. without the @dom.ain part) common
+ aliases for the mailing list.
+ :rtype: string
"""