mirror of https://github.com/python/cpython
[doc] Correct a grammatical error in a docstring. (GH-93441)
This commit is contained in:
parent
e12f34b6d8
commit
3d647e70cf
|
@ -1498,7 +1498,7 @@ class Logger(Filterer):
|
|||
To pass exception information, use the keyword argument exc_info with
|
||||
a true value, e.g.
|
||||
|
||||
logger.info("Houston, we have a %s", "interesting problem", exc_info=1)
|
||||
logger.info("Houston, we have a %s", "notable problem", exc_info=1)
|
||||
"""
|
||||
if self.isEnabledFor(INFO):
|
||||
self._log(INFO, msg, args, **kwargs)
|
||||
|
|
Loading…
Reference in New Issue