mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue 21014: Use booleans instead of 0 and 1 in examples.
This commit is contained in:
parent
9381343948
commit
4ab532bbfe
2 changed files with 2 additions and 2 deletions
|
|
@ -416,7 +416,7 @@ module. Here is a basic working example::
|
|||
Simple TCP socket-based logging receiver suitable for testing.
|
||||
"""
|
||||
|
||||
allow_reuse_address = 1
|
||||
allow_reuse_address = True
|
||||
|
||||
def __init__(self, host='localhost',
|
||||
port=logging.handlers.DEFAULT_TCP_LOGGING_PORT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue