[Python-checkins] [doc] Correct a grammatical error in a docstring. (GH-93441)

vsajip webhook-mailer at python.org
Sat Jun 4 12:42:12 EDT 2022


https://github.com/python/cpython/commit/3d647e70cf4fd0e7cef68ed6662de3cb2cb0d63d
commit: 3d647e70cf4fd0e7cef68ed6662de3cb2cb0d63d
branch: main
author: Colin Delahunty <72827203+colin99d at users.noreply.github.com>
committer: vsajip <vinay_sajip at yahoo.co.uk>
date: 2022-06-04T17:42:08+01:00
summary:

[doc] Correct a grammatical error in a docstring. (GH-93441)

files:
M Lib/logging/__init__.py

diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index e7636e18bec4a..20ab191bdb45e 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -1498,7 +1498,7 @@ def info(self, msg, *args, **kwargs):
         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)



More information about the Python-checkins mailing list