]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957) (#135963)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 26 Jun 2025 04:08:17 +0000 (06:08 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Jun 2025 04:08:17 +0000 (04:08 +0000)
gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957)

_pydatetime.isoformat docstring repeats 'giving'.
(cherry picked from commit e3ea6f2b3b084700a34ce392f5cf897407469b3a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/_pydatetime.py

index b894551a02921ffe2252046d6e475ff56bb9be92..38e1f764f008a9087c14d40c7787173ae7a025f1 100644 (file)
@@ -2044,7 +2044,7 @@ class datetime(date):
         By default, the fractional part is omitted if self.microsecond == 0.
 
         If self.tzinfo is not None, the UTC offset is also attached, giving
-        giving a full format of 'YYYY-MM-DD HH:MM:SS.mmmmmm+HH:MM'.
+        a full format of 'YYYY-MM-DD HH:MM:SS.mmmmmm+HH:MM'.
 
         Optional argument sep specifies the separator between date and
         time, default 'T'.