mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Documentation clarified re. config socket listener protocol
This commit is contained in:
parent
b6c1bb883e
commit
4c1423bb7a
2 changed files with 7 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue