[Python-checkins] python/dist/src/Lib/email Header.py,1.6,1.7
bwarsaw@users.sourceforge.net
bwarsaw@users.sourceforge.net
Tue, 02 Jul 2002 22:04:06 -0700
Update of /cvsroot/python/python/dist/src/Lib/email
In directory usw-pr-cvs1:/tmp/cvs-serv29400
Modified Files:
Header.py
Log Message:
append(): Clarify the expected type of charset.
Index: Header.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Header.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Header.py 29 Jun 2002 03:26:58 -0000 1.6
--- Header.py 3 Jul 2002 05:04:04 -0000 1.7
***************
*** 152,156 ****
"""Append string s with Charset charset to the MIME header.
! charset defaults to the one given in the class constructor.
"""
if charset is None:
--- 152,157 ----
"""Append string s with Charset charset to the MIME header.
! charset defaults to the one given in the class constructor. If
! charset is given, it should be an instance of email.Charset.Charset.
"""
if charset is None: