This commit is contained in:
Raymond Hettinger 2014-03-28 16:39:45 -07:00
commit 9c5e98ff29
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -106,7 +106,7 @@ before printing the first prompt::
Continuation lines are needed when entering a multi-line construct. As an
example, take a look at this :keyword:`if` statement::
>>> the_world_is_flat = 1
>>> the_world_is_flat = True
>>> if the_world_is_flat:
... print("Be careful not to fall off!")
...