]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957) (#135962)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 26 Jun 2025 04:09:11 +0000 (06:09 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Jun 2025 04:09:11 +0000 (04:09 +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 f11eaa50e016e9df9a2ec5334f261f0ea2d04e10..cfcd35827a275a0c14fc2a743c09aa604dce5757 100644 (file)
@@ -2139,7 +2139,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'.