Change instances of 'while 1:' in the docs into 'while True:'.
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index fb4bc4c..fb21164 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -783,7 +783,7 @@
            followed by the LogRecord in pickle format. Logs the record
            according to whatever policy is configured locally.
            """
-           while 1:
+           while True:
                chunk = self.connection.recv(4)
                if len(chunk) < 4:
                    break