diff options
Diffstat (limited to 'Doc/library/cgi.rst')
-rw-r--r-- | Doc/library/cgi.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ attribute:: 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 |