https://github.com/python/cpython/commit/e3ea6f2b3b084700a34ce392f5cf897407469b3a
commit: e3ea6f2b3b084700a34ce392f5cf897407469b3a
branch: main
author: Terry Jan Reedy <[email protected]>
committer: terryjreedy <[email protected]>
date: 2025-06-25T23:44:08-04:00
summary:
gh-135956: Remove duplicate word in _pydatetime docstring (#135957)
_pydatetime.isoformat docstring repeats 'giving'.
files:
M Lib/_pydatetime.py
diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py
index 71f619024e570d..bc35823f70144e 100644
--- a/Lib/_pydatetime.py
+++ b/Lib/_pydatetime.py
@@ -2164,7 +2164,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'.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]