cpython (merge 3.4 -> default): Merged documentation update from 3.4.
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
http://hg.python.org/cpython/rev/1df113f07de1 changeset: 91392:1df113f07de1 parent: 91388:d002c4d60ed4 parent: 91391:77fbbb5a7306 user: Vinay Sajip <vinay_sajip@yahoo.co.uk> date: Wed Jun 25 07:31:21 2014 +0100 summary: Merged documentation update from 3.4. files: Doc/howto/logging.rst | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst --- a/Doc/howto/logging.rst +++ b/Doc/howto/logging.rst @@ -1027,7 +1027,7 @@ 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 -- Repository URL: http://hg.python.org/cpython
participants (1)
-
vinay.sajip