diff options
Diffstat (limited to 'Doc/library/logging.rst')
-rw-r--r-- | Doc/library/logging.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ module. Here is a basic working example:: 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 |