]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Correct a grammatical error in a docstring. (GH-93441)
authorColin Delahunty <72827203+colin99d@users.noreply.github.com>
Sat, 4 Jun 2022 16:42:08 +0000 (12:42 -0400)
committerGitHub <noreply@github.com>
Sat, 4 Jun 2022 16:42:08 +0000 (17:42 +0100)
Lib/logging/__init__.py

index e7636e18bec4abfd436e9b545b6eaff3effbb0c6..20ab191bdb45eae1b82011bd45cb07276b483eb0 100644 (file)
@@ -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)