summaryrefslogtreecommitdiffstats
path: root/Lib/email/charset.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-06 09:15:45 (GMT)
committerGeorg Brandl <georg@python.org>2011-01-06 09:15:45 (GMT)
commite98628d60c6fed3cd668901755605dda6fee6dc6 (patch)
tree0b15054a2c2c94324f7e7a4bfd49576c54ffe91d /Lib/email/charset.py
parentca023cab4dbfae608e60b599048bb21509298758 (diff)
downloadcpython-e98628d60c6fed3cd668901755605dda6fee6dc6.zip
cpython-e98628d60c6fed3cd668901755605dda6fee6dc6.tar.gz
cpython-e98628d60c6fed3cd668901755605dda6fee6dc6.tar.bz2
Remove doc for nonexisting parameter.
Diffstat (limited to 'Lib/email/charset.py')
-rw-r--r--Lib/email/charset.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/email/charset.py b/Lib/email/charset.py
index a44b711..898beed 100644
--- a/Lib/email/charset.py
+++ b/Lib/email/charset.py
@@ -294,7 +294,7 @@ class Charset:
"""Header-encode a string by converting it first to bytes.
This is similar to `header_encode()` except that the string is fit
- into maximum line lengths as given by the arguments.
+ into maximum line lengths as given by the argument.
:param string: A unicode string for the header. It must be possible
to encode this string to bytes using the character set's
@@ -305,8 +305,6 @@ class Charset:
and should never be exhausted. The maximum line lengths should
not count the RFC 2047 chrome. These line lengths are only a
hint; the splitter does the best it can.
- :param firstmaxlen: The maximum line length of the first line. If
- None (the default), then `maxlen` is used for the first line.
:return: Lines of encoded strings, each with RFC 2047 chrome.
"""
# See which encoding we should use.