summaryrefslogtreecommitdiffstats
path: root/Doc/library/email.header.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-06 09:23:56 (GMT)
committerGeorg Brandl <georg@python.org>2011-01-06 09:23:56 (GMT)
commitb30f3303f70b2a73bd9dec068edcdf78a1c71096 (patch)
tree4b2206ed4e452ab2ffbd89459005d88b9e9db99c /Doc/library/email.header.rst
parent77041b23540764ef0cd4eec4f1368c740daff338 (diff)
downloadcpython-b30f3303f70b2a73bd9dec068edcdf78a1c71096.zip
cpython-b30f3303f70b2a73bd9dec068edcdf78a1c71096.tar.gz
cpython-b30f3303f70b2a73bd9dec068edcdf78a1c71096.tar.bz2
Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
Diffstat (limited to 'Doc/library/email.header.rst')
-rw-r--r--Doc/library/email.header.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/library/email.header.rst b/Doc/library/email.header.rst
index 808f7e5..ff2b484 100644
--- a/Doc/library/email.header.rst
+++ b/Doc/library/email.header.rst
@@ -130,14 +130,10 @@ Here is the :class:`Header` class description:
.. method:: __str__()
- A synonym for :meth:`Header.encode`. Useful for ``str(aHeader)``.
-
-
- .. method:: __unicode__()
-
A helper for :class:`str`'s :func:`encode` method. Returns the header as
a Unicode string.
+
.. method:: __eq__(other)
This method allows you to compare two :class:`Header` instances for