Correct typo in AddressList.__getitem__. By Moshe Zadka.

This commit is contained in:
Guido van Rossum 1999-09-03 13:23:49 +00:00
parent 183fd40987
commit a07934e53f
1 changed files with 1 additions and 1 deletions

View File

@ -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."""