From 406dbf2c3e6134044cc0fa91b979f9f4266bb454 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 b894551a02921f..38e1f764f008a9 100644 --- a/Lib/_pydatetime.py +++ b/Lib/_pydatetime.py @@ -2044,7 +2044,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'.