~sumanah/mailman/mailman

« back to all changes in this revision

Viewing changes to src/mailman/commands/docs/members.rst

  • Committer: Sumana Harihareswara
  • Date: 2015-01-08 21:35:58 UTC
  • mfrom: (7273.2.15 3.0)
  • Revision ID: sumanah@panix.com-20150108213558-65ym6553zj256z8p
mergeĀ fromĀ master

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
taken from standard input.
230
230
::
231
231
 
232
 
    >>> from StringIO import StringIO
 
232
    >>> from io import StringIO
233
233
    >>> fp = StringIO()
234
 
    >>> fp.encoding = 'us-ascii'
235
234
    >>> for address in ('dperson@example.com',
236
235
    ...                 'Elly Person <eperson@example.com>',
237
236
    ...                 'fperson@example.com (Fred Person)',
238
237
    ...                 ):
239
238
    ...         print(address, file=fp)
240
 
    >>> fp.seek(0)
 
239
    >>> filepos = fp.seek(0)
241
240
    >>> import sys
242
241
    >>> sys.stdin = fp
243
242