summaryrefslogtreecommitdiffstats
path: root/Lib/rfc822.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-04-12 20:55:31 (GMT)
committerBarry Warsaw <barry@python.org>2002-04-12 20:55:31 (GMT)
commit56cdf11922d940b560a26dc8e68ed23a19acc9d7 (patch)
tree8336cbdeb7d8eb9c7ccdb896fa1d452e95148036 /Lib/rfc822.py
parente1df15c401efbcac2982ddf30919835cb25f87a7 (diff)
downloadcpython-56cdf11922d940b560a26dc8e68ed23a19acc9d7.zip
cpython-56cdf11922d940b560a26dc8e68ed23a19acc9d7.tar.gz
cpython-56cdf11922d940b560a26dc8e68ed23a19acc9d7.tar.bz2
AddrlistClass -> AddressList
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r--Lib/rfc822.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index 65957ab..aa58f18 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -351,7 +351,7 @@ class Message:
addr = h[i+1:]
raw.append(addr)
alladdrs = ''.join(raw)
- a = AddrlistClass(alladdrs)
+ a = AddressList(alladdrs)
return a.getaddrlist()
def getdate(self, name):
@@ -494,7 +494,7 @@ def quote(str):
def parseaddr(address):
"""Parse an address into a (realname, mailaddr) tuple."""
- a = AddrlistClass(address)
+ a = AddressList(address)
list = a.getaddrlist()
if not list:
return (None, None)