]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-135956: Remove duplicate word in _pydatetime docstring (#135957)
authorTerry Jan Reedy <tjreedy@udel.edu>
Thu, 26 Jun 2025 03:44:08 +0000 (23:44 -0400)
committerGitHub <noreply@github.com>
Thu, 26 Jun 2025 03:44:08 +0000 (23:44 -0400)
_pydatetime.isoformat docstring repeats 'giving'.

Lib/_pydatetime.py

index 71f619024e570d321c4db0c8053cb5b69866711d..bc35823f70144eb1b5564e7ffd1c531cc32b129e 100644 (file)
@@ -2164,7 +2164,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'.