From 385349a8251c2aa631e2dc8fef4f3065b700c4d6 Mon Sep 17 00:00:00 2001 From: Colin Delahunty <72827203+colin99d@users.noreply.github.com> Date: Thu, 2 Jun 2022 16:37:52 -0400 Subject: [PATCH 1/2] Grammatical error in info docstring --- Lib/logging/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index e7636e18bec4ab..bbaa0b6b758ff4 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 an %s", "interesting problem", exc_info=1) """ if self.isEnabledFor(INFO): self._log(INFO, msg, args, **kwargs) From 64e8ee39aa3b017223293719b608bded2d536627 Mon Sep 17 00:00:00 2001 From: Colin Delahunty <72827203+colin99d@users.noreply.github.com> Date: Fri, 3 Jun 2022 09:12:01 -0400 Subject: [PATCH 2/2] Update __init__.py --- Lib/logging/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index bbaa0b6b758ff4..20ab191bdb45ea 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 an %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)