projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183fd40
)
Correct typo in AddressList.__getitem__. By Moshe Zadka.
author
Guido van Rossum
<guido@python.org>
Fri, 3 Sep 1999 13:23:49 +0000
(13:23 +0000)
committer
Guido van Rossum
<guido@python.org>
Fri, 3 Sep 1999 13:23:49 +0000
(13:23 +0000)
Lib/rfc822.py
patch
|
blob
|
history
diff --git
a/Lib/rfc822.py
b/Lib/rfc822.py
index 7030ee7cb3152a70e5b5ac04ec16559b928499e0..87219949c322ef4715ce1408ad90660e5ca70eb9 100644
(file)
--- a/
Lib/rfc822.py
+++ b/
Lib/rfc822.py
@@
-773,7
+773,7
@@
class AddressList(AddrlistClass):
def __getitem__(self, index):
# Make indexing, slices, and 'in' work
- return self.addrlist[index]
+ return self.addr
ess
list[index]
def dump_address_pair(pair):
"""Dump a (name, address) pair in a canonicalized form."""