mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Remove doc for nonexisting parameter.
This commit is contained in:
parent
ca023cab4d
commit
e98628d60c
1 changed files with 1 additions and 3 deletions
|
|
@ -294,7 +294,7 @@ def header_encode_lines(self, string, maxlengths):
|
|||
"""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 @@ def header_encode_lines(self, string, maxlengths):
|
|||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue