commit | 463344813fa580118eb4fd9dc4cfe26f0a0f17ef | [log] [tgz] |
---|---|---|
author | Collin Winter <collinw@gmail.com> | Mon Sep 10 00:49:57 2007 +0000 |
committer | Collin Winter <collinw@gmail.com> | Mon Sep 10 00:49:57 2007 +0000 |
tree | 7af9fd3622e4ac8a81cdd0faa0b79d84a881cc04 | |
parent | 4c6a140b7f6478d92e14d84c6ca89edef120658e [diff] [blame] |
Change instances of 'while 1:' in the docs into 'while True:'.
diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst index 84262f5..86b8c47 100644 --- a/Doc/library/cgi.rst +++ b/Doc/library/cgi.rst
@@ -142,7 +142,7 @@ if fileitem.file: # It's an uploaded file; count lines linecount = 0 - while 1: + while True: line = fileitem.file.readline() if not line: break linecount = linecount + 1