summaryrefslogtreecommitdiff
path: root/Lib/logging
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2005-06-05 20:39:36 +0000
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2005-06-05 20:39:36 +0000
commitd68c41f0cb6ee4686297fcd85f46cf191ef26069 (patch)
treebba80eb623ba06495f5800e646c5b7f36962fce8 /Lib/logging
parent49da986a50652149da7737e77283265b2d15d138 (diff)
downloadcpython-d68c41f0cb6ee4686297fcd85f46cf191ef26069.tar.gz
Documentation clarified re. config socket listener protocol
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py
index ea157db5bf..22132b1676 100644
--- a/Lib/logging/config.py
+++ b/Lib/logging/config.py
@@ -225,9 +225,9 @@ def listen(port=DEFAULT_LOGGING_CONFIG_PORT):
"""
Handle a request.
- Each request is expected to be a 4-byte length,
- followed by the config file. Uses fileConfig() to do the
- grunt work.
+ Each request is expected to be a 4-byte length, packed using
+ struct.pack(">L", n), followed by the config file.
+ Uses fileConfig() to do the grunt work.
"""
import tempfile
try: