diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 13:18:25 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 13:18:25 (GMT) |
commit | f2f1c57b7e4dcd418c278dd45161a5de65bc05d3 (patch) | |
tree | 2a91e7ce343064eb416a217c9bbc095b455bffde /Doc | |
parent | cdbf38cbd60946f0d9fe53be2c16214099cd93cb (diff) | |
download | cpython-f2f1c57b7e4dcd418c278dd45161a5de65bc05d3.zip cpython-f2f1c57b7e4dcd418c278dd45161a5de65bc05d3.tar.gz cpython-f2f1c57b7e4dcd418c278dd45161a5de65bc05d3.tar.bz2 |
Fix typos in comments, documentation and test method names
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/logging-cookbook.rst | 2 | ||||
-rw-r--r-- | Doc/library/logging.handlers.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index 3ee65c4..4b8765a 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -1247,7 +1247,7 @@ flushing behavior. The example script has a simple function, ``foo``, which just cycles through all the logging levels, writing to ``sys.stderr`` to say what level it's about -to log at, and then actually logging a message that that level. You can pass a +to log at, and then actually logging a message at that level. You can pass a parameter to ``foo`` which, if true, will log at ERROR and CRITICAL levels - otherwise, it only logs at DEBUG, INFO and WARNING levels. diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst index 3690d86..27167f0 100644 --- a/Doc/library/logging.handlers.rst +++ b/Doc/library/logging.handlers.rst @@ -349,7 +349,7 @@ sends logging output to a network socket. The base class uses a TCP socket. .. method:: createSocket() Tries to create a socket; on failure, uses an exponential back-off - algorithm. On intial failure, the handler will drop the message it was + algorithm. On initial failure, the handler will drop the message it was trying to send. When subsequent messages are handled by the same instance, it will not try connecting until some time has passed. The default parameters are such that the initial delay is one second, and if |