diff options
author | Guido van Rossum <guido@python.org> | 1999-09-03 13:23:49 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-09-03 13:23:49 (GMT) |
commit | a07934e53f69cdeec62c8c97b0d18187aa01f2d5 (patch) | |
tree | c8e36c8c7766fed836745377769fc9497780540b /Lib/rfc822.py | |
parent | 183fd40987c3fdc209503700aa5b48b8a7dc3bf8 (diff) | |
download | cpython-a07934e53f69cdeec62c8c97b0d18187aa01f2d5.zip cpython-a07934e53f69cdeec62c8c97b0d18187aa01f2d5.tar.gz cpython-a07934e53f69cdeec62c8c97b0d18187aa01f2d5.tar.bz2 |
Correct typo in AddressList.__getitem__. By Moshe Zadka.
Diffstat (limited to 'Lib/rfc822.py')
-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.""" |