Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e98628d

Browse files
committed
Remove doc for nonexisting parameter.
1 parent ca023ca commit e98628d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Lib/email/charset.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def header_encode_lines(self, string, maxlengths):
294294
"""Header-encode a string by converting it first to bytes.
295295
296296
This is similar to `header_encode()` except that the string is fit
297-
into maximum line lengths as given by the arguments.
297+
into maximum line lengths as given by the argument.
298298
299299
:param string: A unicode string for the header. It must be possible
300300
to encode this string to bytes using the character set's
@@ -305,8 +305,6 @@ def header_encode_lines(self, string, maxlengths):
305305
and should never be exhausted. The maximum line lengths should
306306
not count the RFC 2047 chrome. These line lengths are only a
307307
hint; the splitter does the best it can.
308-
:param firstmaxlen: The maximum line length of the first line. If
309-
None (the default), then `maxlen` is used for the first line.
310308
:return: Lines of encoded strings, each with RFC 2047 chrome.
311309
"""
312310
# See which encoding we should use.

0 commit comments

Comments
 (0)