Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(13)

Unified Diff: Doc/library/email.util.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/library/doctest.rst ('k') | Doc/library/faulthandler.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/email.util.rst Tue Jul 26 09:37:46 2011 +0300
+++ b/Doc/library/email.util.rst Mon Jul 25 09:47:18 2011 -0400
@@ -81,20 +81,6 @@
indexes 6, 7, and 8 of the result tuple are not usable.
-.. function:: parsedate_to_datetime(date)
-
- The inverse of :func:`format_datetime`. Performs the same function as
- :func:`parsedate`, but on success returns a :mod:`~datetime.datetime`. If
- the input date has a timezone of ``-0000``, the ``datetime`` will be a naive
- ``datetime``, and if the date is conforming to the RFCs it will represent a
- time in UTC but with no indication of the actual source timezone of the
- message the date comes from. If the input date has any other valid timezone
- offset, the ``datetime`` will be an aware ``datetime`` with the
- corresponding a :class:`~datetime.timezone` :class:`~datetime.tzinfo`.
-
- .. versionadded:: 3.3
-
-
.. function:: mktime_tz(tuple)
Turn a 10-tuple as returned by :func:`parsedate_tz` into a UTC timestamp. It
@@ -126,20 +112,6 @@
``False``. The default is ``False``.
-.. function:: format_datetime(dt, usegmt=False)
-
- Like ``formatdate``, but the input is a :mod:`datetime` instance. If it is
- a naive datetime, it is assumed to be "UTC with no information about the
- source timezone", and the conventional ``-0000`` is used for the timezone.
- If it is an aware ``datetime``, then the numeric timezone offset is used.
- If it is an aware timezone with offset zero, then *usegmt* may be set to
- ``True``, in which case the string ``GMT`` is used instead of the numeric
- timezone offset. This provides a way to generate standards conformant HTTP
- date headers.
-
- .. versionadded:: 3.3
-
-
.. function:: make_msgid(idstring=None, domain=None)
Returns a string suitable for an :rfc:`2822`\ -compliant
« no previous file with comments | « Doc/library/doctest.rst ('k') | Doc/library/faulthandler.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+