diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/rfc822.py | 2 |
1 files changed, 1 insertions, 1 deletions
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.""" |