Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/email.util.rst

    r2 r391  
    1 :mod:`email`: Miscellaneous utilities
    2 -------------------------------------
     1:mod:`email.utils`: Miscellaneous utilities
     2-------------------------------------------
    33
    44.. module:: email.utils
     
    4242   This method returns a list of 2-tuples of the form returned by ``parseaddr()``.
    4343   *fieldvalues* is a sequence of header field values as might be returned by
    44    :meth:`Message.get_all`.  Here's a simple example that gets all the recipients
    45    of a message::
     44   :meth:`Message.get_all <email.message.Message.get_all>`.  Here's a simple
     45   example that gets all the recipients of a message::
    4646
    4747      from email.utils import getaddresses
     
    131131
    132132   When a header parameter is encoded in :rfc:`2231` format,
    133    :meth:`Message.get_param` may return a 3-tuple containing the character set,
     133   :meth:`Message.get_param <email.message.Message.get_param>` may return a
     134   3-tuple containing the character set,
    134135   language, and value.  :func:`collapse_rfc2231_value` turns this into a unicode
    135136   string.  Optional *errors* is passed to the *errors* argument of the built-in
     
    153154.. versionchanged:: 2.4
    154155   The :func:`decode` function has been removed; use the
    155    :meth:`Header.decode_header` method instead.
     156   :meth:`Header.decode_header <email.header.Header.decode_header>` method
     157   instead.
    156158
    157159.. versionchanged:: 2.4
    158    The :func:`encode` function has been removed; use the :meth:`Header.encode`
    159    method instead.
     160   The :func:`encode` function has been removed; use the :meth:`Header.encode
     161   <email.header.Header.encode>` method instead.
    160162
    161163.. rubric:: Footnotes
Note: See TracChangeset for help on using the changeset viewer.