diff options
author | Collin Winter <collinw@gmail.com> | 2007-09-10 00:49:57 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-09-10 00:49:57 (GMT) |
commit | 463344813fa580118eb4fd9dc4cfe26f0a0f17ef (patch) | |
tree | 7af9fd3622e4ac8a81cdd0faa0b79d84a881cc04 /Doc/library/smtplib.rst | |
parent | 4c6a140b7f6478d92e14d84c6ca89edef120658e (diff) | |
download | cpython-463344813fa580118eb4fd9dc4cfe26f0a0f17ef.zip cpython-463344813fa580118eb4fd9dc4cfe26f0a0f17ef.tar.gz cpython-463344813fa580118eb4fd9dc4cfe26f0a0f17ef.tar.bz2 |
Change instances of 'while 1:' in the docs into 'while True:'.
Diffstat (limited to 'Doc/library/smtplib.rst')
-rw-r--r-- | Doc/library/smtplib.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst index 286a725..0653a50 100644 --- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -322,7 +322,7 @@ example doesn't do any processing of the :rfc:`822` headers. In particular, the # Add the From: and To: headers at the start! msg = ("From: %s\r\nTo: %s\r\n\r\n" % (fromaddr, ", ".join(toaddrs))) - while 1: + while True: try: line = raw_input() except EOFError: |