[Python-checkins] r87787 - python/branches/py3k/Lib/email/charset.py

georg.brandl python-checkins at python.org
Thu Jan 6 10:15:45 CET 2011


Author: georg.brandl
Date: Thu Jan 6 10:15:45 2011
New Revision: 87787
Log:
Remove doc for nonexisting parameter.
Modified:
 python/branches/py3k/Lib/email/charset.py
Modified: python/branches/py3k/Lib/email/charset.py
==============================================================================
--- python/branches/py3k/Lib/email/charset.py	(original)
+++ python/branches/py3k/Lib/email/charset.py	Thu Jan 6 10:15:45 2011
@@ -294,7 +294,7 @@
 """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 @@
 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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /