From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 26 Jun 2025 04:08:17 +0000 (+0200) Subject: [3.13] gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957) (#135963) X-Git-Tag: v3.13.6~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21f9873385cba1250a3cacd823cae56c39a07de7;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957) (#135963) 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 --- diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py index b894551a0292..38e1f764f008 100644 --- a/Lib/_pydatetime.py +++ b/Lib/_pydatetime.py @@ -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'.