]> granicus.if.org Git - python/commitdiff
append(): Clarify the expected type of charset.
authorBarry Warsaw <barry@python.org>
Wed, 3 Jul 2002 05:04:04 +0000 (05:04 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 3 Jul 2002 05:04:04 +0000 (05:04 +0000)
Lib/email/Header.py

index e02ccb80292b5d64ea402515719827ca7ce5fba3..9060fbba9198c3f80b309715c2c95b114a74ead7 100644 (file)
@@ -151,7 +151,8 @@ class Header:
     def append(self, s, charset=None):
         """Append string s with Charset charset to the MIME header.
 
-        charset defaults to the one given in the class constructor.
+        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:
             charset = self._charset