diff options
author | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2008-07-13 21:32:22 +0200 |
---|---|---|
committer | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2008-07-13 21:32:22 +0200 |
commit | aab929e273a41a188a244b5d2c8b3e53408172ab (patch) | |
tree | bdbb169569082a3290de6dbdaf7ef7d68bc919c1 /umessage.py | |
parent | 47df8cd6dff5c08b32966a7b59b5da75d23123de (diff) | |
download | logilab-common-aab929e273a41a188a244b5d2c8b3e53408172ab.tar.gz |
improve doc for better epydoc generation.
Diffstat (limited to 'umessage.py')
-rw-r--r-- | umessage.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/umessage.py b/umessage.py index 4129f00..f5b4db5 100644 --- a/umessage.py +++ b/umessage.py @@ -1,4 +1,10 @@ -"""unicode email support""" +"""Unicode email support (extends email from stdlib). + +:copyright: 2000-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr +:license: General Public License version 2 - http://www.gnu.org/licenses +""" +__docformat__ = "restructuredtext en" import email from encodings import search_function @@ -32,7 +38,8 @@ def message_from_string(string): return '' class UMessage: - """Encapsulates an email.Message instance and returns only unicode objects""" + """Encapsulates an email.Message instance and returns only unicode objects. + """ def __init__(self, message): self.message = message @@ -129,7 +136,3 @@ class UMessage: elif not return_str: return None return value - - - - |