Kaydet (Commit) 6ee71569 authored tarafından Barry Warsaw's avatar Barry Warsaw

append(): Clarify the expected type of charset.

üst f50d0f96
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment