From 911579239b820f9ff0ffa1f1d9947f767ea1a855 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Wed, 25 Jun 2025 23:44:08 -0400 Subject: [PATCH] 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 --- Lib/_pydatetime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py index f11eaa50e016e9..cfcd35827a275a 100644 --- a/Lib/_pydatetime.py +++ b/Lib/_pydatetime.py @@ -2139,7 +2139,7 @@ def isoformat(self, sep='T', timespec='auto'): 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'.