Commit a07934e5 authored by Guido van Rossum's avatar Guido van Rossum

Correct typo in AddressList.__getitem__. By Moshe Zadka.

parent 183fd409
......@@ -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."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment