summaryrefslogtreecommitdiff
path: root/src/mailman/model/docs/listmanager.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/model/docs/listmanager.txt')
-rw-r--r--src/mailman/model/docs/listmanager.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mailman/model/docs/listmanager.txt b/src/mailman/model/docs/listmanager.txt
index e07659066..7235049c7 100644
--- a/src/mailman/model/docs/listmanager.txt
+++ b/src/mailman/model/docs/listmanager.txt
@@ -2,10 +2,8 @@
The mailing list manager
========================
-The IListManager is how you create, delete, and retrieve mailing list
-objects. The Mailman system instantiates an IListManager for you based on the
-configuration variable MANAGERS_INIT_FUNCTION. The instance is accessible
-on the global config object.
+The ``IListManager`` is how you create, delete, and retrieve mailing list
+objects.
>>> from mailman.interfaces.listmanager import IListManager
>>> from zope.component import getUtility
@@ -76,12 +74,12 @@ always get the same object back.
>>> mlist_2 is mlist
True
-If you try to get a list that doesn't existing yet, you get None.
+If you try to get a list that doesn't existing yet, you get ``None``.
>>> print list_manager.get('_xtest_2@example.com')
None
-You also get None if the list name is invalid.
+You also get ``None`` if the list name is invalid.
>>> print list_manager.get('foo')
None