~barry/mailman/lp1423756

« back to all changes in this revision

Viewing changes to src/mailman/handlers/docs/rfc-2369.rst

  • Committer: Barry Warsaw
  • Date: 2015-01-05 01:20:33 UTC
  • mfrom: (7264.4.66 py3)
  • Revision ID: barry@list.org-20150105012033-zdrw9c2odhpf22fz
Merge the Python 3 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
..
14
14
    This is a helper function for the following section.
15
15
    >>> def list_headers(msg, only=None):
16
 
    ...     if isinstance(only, basestring):
 
16
    ...     if isinstance(only, str):
17
17
    ...         only = (only.lower(),)
18
18
    ...     elif only is None:
19
19
    ...         only = set(header.lower() for header in msg.keys()