This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: rfc822.AddressList methods incorrect
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, holdenweb
Priority: normal Keywords:

Created on 2001-04-05 00:50 by holdenweb, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Messages (2)
msg4175 - (view) Author: Steve Holden (holdenweb) * (Python committer) Date: 2001-04-05 00:50
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.
msg4176 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2001-04-09 15:43
Logged In: YES 
user_id=3066

The documentation also failed to mention the support of the in-place variants added with the advent of augmented assignment.  All corrected in Doc/lib/librfc822.tex revision 1.31.
History
Date User Action Args
2022-04-10 16:03:55adminsetgithub: 34279
2001-04-05 00:50:43holdenwebcreate