[Python-bugs-list] [ python-Bugs-413876 ] rfc822.AddressList methods incorrect
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 04 Apr 2001 17:50:44 -0700
Bugs item #413876, was updated on 2001-04-04 17:50
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=413876&group_id=5470
Category: Documentation
Group: None
Status: Open
Priority: 5
Submitted By: Steve Holden (holdenweb)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: rfc822.AddressList methods incorrect
Initial Comment:
The current 2.0, and the latest development,
documentation shows rfc822.AddressList methods __len__
() and __str__() as requiring arguments. Inspection of
the 2.0 code shows this to be incorrect. I presume
this will also be true of 2.1.
Furthermore, the __add__() and __sub__() methods are
documented as taking a "name" argument, which is
somewhat misleading since the required argument should
be another rfc822.AddressList object. It might be
better to use a more meaningful name such as "alist",
and document its required type.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=413876&group_id=5470