summaryrefslogtreecommitdiff
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorChristophe Nanteuil <35002064+christopheNan@users.noreply.github.com>2018-10-06 00:57:02 +0200
committerAlexander Belopolsky <abalkin@users.noreply.github.com>2018-10-05 18:57:02 -0400
commit92878829c31ab2fc71c60555ce87a5f6cbc876f0 (patch)
tree2005d50b3f89f7e5bc6d031dc0fe991141d3ca8f /Lib/enum.py
parent7bb9cd0a6766fd3e7b3c1e8f2315304ae192b34c (diff)
downloadcpython-git-92878829c31ab2fc71c60555ce87a5f6cbc876f0.tar.gz
bpo-34158: Documentation UTC offset update (GH-8377)
* Documentation of UTC offset update Since changes in the UTC offset that allows sub-minute offsets, the documentation needs update: - "%z" format code documentation update Karthikeyan Singaravelan commented on bugs.python.org: Added as part of 018d353c1c8c87767d2335cd884017c2ce12e045 and a fix regarding duplicate words for that part was added at bac2d5ba30339298db7d4caa9c8cd31d807cf081. Relevant format string at https://github.com/python/cpython/pull/2896/files#diff-25e2d173c84057d069b7890450714eddR214. Relevant test case with 6-digit string for microsecond : https://github.com/python/cpython/pull/2896/files#diff-acc40bec51c7de832de3361db3edae52R309. Table at https://docs.python.org/3.7/library/datetime.html#strftime-and-strptime-behavior could also be updated with microseconds being optional in the second column %z | UTC offset in the form ±HHMM[SS] (empty string if the object is naive). | (empty), +0000, -0400, +1030 - isoformat documentation update According to me, needs confirmation: Relevant format string at https://github.com/python/cpython/pull/4699/files#diff-25e2d173c84057d069b7890450714eddR176 Relevant test case at https://github.com/python/cpython/pull/4699/files#diff-25e2d173c84057d069b7890450714edd * From Martin Panter: some style improvment; From @pganssle: using f for fractional part of seconds in all file.
Diffstat (limited to 'Lib/enum.py')
0 files changed, 0 insertions, 0 deletions