summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/docs/avoid-duplicates.rst
diff options
context:
space:
mode:
authorBarry Warsaw2014-04-28 11:23:35 -0400
committerBarry Warsaw2014-04-28 11:23:35 -0400
commitd4d71f71f08d6d440b17482eecc5472dcfe6cbae (patch)
tree71f08b3d60f698883294eaa6d1bf366a095da011 /src/mailman/handlers/docs/avoid-duplicates.rst
parent7536530dcd8d6303c0a869e8c9c2cb2517b9b018 (diff)
downloadmailman-d4d71f71f08d6d440b17482eecc5472dcfe6cbae.tar.gz
mailman-d4d71f71f08d6d440b17482eecc5472dcfe6cbae.tar.zst
mailman-d4d71f71f08d6d440b17482eecc5472dcfe6cbae.zip
Diffstat (limited to 'src/mailman/handlers/docs/avoid-duplicates.rst')
-rw-r--r--src/mailman/handlers/docs/avoid-duplicates.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mailman/handlers/docs/avoid-duplicates.rst b/src/mailman/handlers/docs/avoid-duplicates.rst
index 1e46793c2..612634941 100644
--- a/src/mailman/handlers/docs/avoid-duplicates.rst
+++ b/src/mailman/handlers/docs/avoid-duplicates.rst
@@ -45,7 +45,7 @@ The module short-circuits if there are no recipients.
>>> handler.process(mlist, msg, msgdata)
>>> msgdata
{}
- >>> print msg.as_string()
+ >>> print(msg.as_string())
From: aperson@example.com
Subject: A message of great import
<BLANKLINE>
@@ -72,7 +72,7 @@ or ``Resent-CC``), then they will get a list copy.
>>> handler.process(mlist, msg, msgdata)
>>> sorted(msgdata['recipients'])
[u'aperson@example.com', u'bperson@example.com']
- >>> print msg.as_string()
+ >>> print(msg.as_string())
From: Claire Person <cperson@example.com>
<BLANKLINE>
Something of great import.
@@ -90,7 +90,7 @@ If they're mentioned on the ``CC`` line, they won't get a list copy.
>>> handler.process(mlist, msg, msgdata)
>>> sorted(msgdata['recipients'])
[u'bperson@example.com']
- >>> print msg.as_string()
+ >>> print(msg.as_string())
From: Claire Person <cperson@example.com>
CC: aperson@example.com
<BLANKLINE>
@@ -110,7 +110,7 @@ to ``True`` (the default), then they still get a list copy.
>>> handler.process(mlist, msg, msgdata)
>>> sorted(msgdata['recipients'])
[u'aperson@example.com', u'bperson@example.com']
- >>> print msg.as_string()
+ >>> print(msg.as_string())
From: Claire Person <cperson@example.com>
CC: bperson@example.com
<BLANKLINE>
@@ -129,7 +129,7 @@ Other headers checked for recipients include the ``To``...
>>> handler.process(mlist, msg, msgdata)
>>> sorted(msgdata['recipients'])
[u'bperson@example.com']
- >>> print msg.as_string()
+ >>> print(msg.as_string())
From: Claire Person <cperson@example.com>
To: aperson@example.com
<BLANKLINE>
@@ -148,7 +148,7 @@ Other headers checked for recipients include the ``To``...
>>> handler.process(mlist, msg, msgdata)
>>> sorted(msgdata['recipients'])
[u'bperson@example.com']
- >>> print msg.as_string()
+ >>> print(msg.as_string())
From: Claire Person <cperson@example.com>
Resent-To: aperson@example.com
<BLANKLINE>
@@ -167,7 +167,7 @@ Other headers checked for recipients include the ``To``...
>>> handler.process(mlist, msg, msgdata)
>>> sorted(msgdata['recipients'])
[u'bperson@example.com']
- >>> print msg.as_string()
+ >>> print(msg.as_string())
From: Claire Person <cperson@example.com>
Resent-Cc: aperson@example.com
<BLANKLINE>