summaryrefslogtreecommitdiffstats
path: root/Doc/howto/logging.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/howto/logging.rst')
-rw-r--r--Doc/howto/logging.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
index c90df43..7a68ca8 100644
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -610,7 +610,7 @@ logger, a console handler, and a simple formatter using Python code::
# 'application' code
logger.debug('debug message')
logger.info('info message')
- logger.warn('warn message')
+ logger.warning('warn message')
logger.error('error message')
logger.critical('critical message')
@@ -640,7 +640,7 @@ the names of the objects::
# 'application' code
logger.debug('debug message')
logger.info('info message')
- logger.warn('warn message')
+ logger.warning('warn message')
logger.error('error message')
logger.critical('critical message')