From 7de99717c80d8e5c0593e8eb28d45623551fc719 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Wed, 25 Jun 2014 07:29:19 +0100 Subject: [PATCH] Fixed typo in documentation. --- Doc/howto/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index 6321057d1e..fdb6c5322c 100644 --- a/Doc/howto/logging.rst +++ b/Doc/howto/logging.rst @@ -996,7 +996,7 @@ You can write code like this:: so that if the logger's threshold is set above ``DEBUG``, the calls to :func:`expensive_func1` and :func:`expensive_func2` are never made. -.. note:: In some cases, :meth:`~Logger.isEnabledFor` can iself be more +.. note:: In some cases, :meth:`~Logger.isEnabledFor` can itself be more expensive than you'd like (e.g. for deeply nested loggers where an explicit level is only set high up in the logger hierarchy). In such cases (or if you want to avoid calling a method in tight loops), you can cache the result of a -- 2.50.1