]> granicus.if.org Git - python/commit
Change interface to sendmail: if the destination address is a string
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 13 Aug 1998 19:57:46 +0000 (19:57 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 13 Aug 1998 19:57:46 +0000 (19:57 +0000)
commit31bb8cef2c528591bc6b2abefff34cbcbfd121f3
tree0b6d08e53a07fb78335de365370efbd41b028eb5
parent54c52052cebc00ceeb4f1f8b48453b675d037ba1
Change interface to sendmail: if the destination address is a string
instead of a list, turn it into a list containing that string.  This
avoids an apparently common newbie mistake -- passing in a single
string for the destination and have it treated as a sequence of
characters.
Lib/smtplib.py