summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2003-06-13 21:16:06 (GMT)
committerBarry Warsaw <barry@python.org>2003-06-13 21:16:06 (GMT)
commitefad5880bae4508e456d85a7a664222e22d0d8a5 (patch)
treec17f15a34b9c562be538b32f54f5b4e0accd6a3b
parent59195fdf40c3e3f066390ed2e23873aed1286e86 (diff)
downloadcpython-efad5880bae4508e456d85a7a664222e22d0d8a5.zip
cpython-efad5880bae4508e456d85a7a664222e22d0d8a5.tar.gz
cpython-efad5880bae4508e456d85a7a664222e22d0d8a5.tar.bz2
AddressList.__str__(): Get rid of useless, and broken method. Closes
SF #753617. Back port candidate (but low priority).
-rw-r--r--Lib/email/_parseaddr.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/email/_parseaddr.py b/Lib/email/_parseaddr.py
index c56cfd0..5cb75e6 100644
--- a/Lib/email/_parseaddr.py
+++ b/Lib/email/_parseaddr.py
@@ -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)