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