mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Correct typo in AddressList.__getitem__. By Moshe Zadka.
This commit is contained in:
parent
183fd40987
commit
a07934e53f
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue