From 6ee7156996c85b57b8ccb7af18a2797014ea27a4 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 3 Jul 2002 05:04:04 +0000 Subject: append(): Clarify the expected type of charset. --- Lib/email/Header.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/email/Header.py b/Lib/email/Header.py index e02ccb8..9060fbb 100644 --- a/Lib/email/Header.py +++ b/Lib/email/Header.py @@ -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 -- cgit v0.12