Skip to content

Commit

Permalink
Fixed typo in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsajip committed Jun 25, 2014
1 parent a09e27a commit 16f95c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/howto/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,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
Expand Down

0 comments on commit 16f95c1

Please sign in to comment.