[Python-checkins] Delete extra 'the' from `Formatter` class docstring (GH-22530)

Hansraj Das webhook-mailer at python.org
Sun Oct 4 12:09:33 EDT 2020


https://github.com/python/cpython/commit/a619af43ccd10bab363b1e59814a2e2727422545
commit: a619af43ccd10bab363b1e59814a2e2727422545
branch: master
author: Hansraj Das <raj.das.136 at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-10-04T17:09:26+01:00
summary:

Delete extra 'the' from `Formatter` class docstring (GH-22530)

files:
M Lib/logging/__init__.py

diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index d8a88db378436..787cb4eefa106 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -523,7 +523,7 @@ class Formatter(object):
     responsible for converting a LogRecord to (usually) a string which can
     be interpreted by either a human or an external system. The base Formatter
     allows a formatting string to be specified. If none is supplied, the
-    the style-dependent default value, "%(message)s", "{message}", or
+    style-dependent default value, "%(message)s", "{message}", or
     "${message}", is used.
 
     The Formatter can be initialized with a format string which makes use of



More information about the Python-checkins mailing list