mirror of
https://github.com/python/cpython.git
synced 2024-11-25 19:03:49 +08:00
AddressList.__str__(): Get rid of useless, and broken method. Closes
SF #753617. Back port candidate (but low priority).
This commit is contained in:
parent
59195fdf40
commit
efad5880ba
@ -441,9 +441,6 @@ class AddressList(AddrlistClass):
|
||||
def __len__(self):
|
||||
return len(self.addresslist)
|
||||
|
||||
def __str__(self):
|
||||
return COMMASPACE.join(map(dump_address_pair, self.addresslist))
|
||||
|
||||
def __add__(self, other):
|
||||
# Set union
|
||||
newaddr = AddressList(None)
|
||||
|
Loading…
Reference in New Issue
Block a user