summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2005-06-05 20:39:36 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2005-06-05 20:39:36 (GMT)
commit4c1423bb7a3bce158776d23e8de804f058950061 (patch)
tree9793c0375aa0bf124a2e1d51352f6ba8c3559e3d /Lib
parentb6c1bb883e311fb60e8e54d6d5256d2f52941b4b (diff)
downloadcpython-4c1423bb7a3bce158776d23e8de804f058950061.zip
cpython-4c1423bb7a3bce158776d23e8de804f058950061.tar.gz
cpython-4c1423bb7a3bce158776d23e8de804f058950061.tar.bz2
Documentation clarified re. config socket listener protocol
Diffstat (limited to 'Lib')
-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 ea157db..22132b1 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: