From a07934e53f69cdeec62c8c97b0d18187aa01f2d5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 3 Sep 1999 13:23:49 +0000 Subject: Correct typo in AddressList.__getitem__. By Moshe Zadka. --- Lib/rfc822.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 7030ee7..8721994 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -773,7 +773,7 @@ class AddressList(AddrlistClass): def __getitem__(self, index): # Make indexing, slices, and 'in' work - return self.addrlist[index] + return self.addresslist[index] def dump_address_pair(pair): """Dump a (name, address) pair in a canonicalized form.""" -- cgit v0.12