summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorKarl Dubost <karl+github@la-grange.net>2019-11-26 16:38:41 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-11-26 16:38:41 (GMT)
commitbc441ed7c1449f06df37905ee6289aa93b85d4cb (patch)
tree6a1cf146367706034384d4d82d0a24b5087effeb /Misc
parent036fe85bd3e6cd01093d836d71792a1966f961e8 (diff)
downloadcpython-bc441ed7c1449f06df37905ee6289aa93b85d4cb.zip
cpython-bc441ed7c1449f06df37905ee6289aa93b85d4cb.tar.gz
cpython-bc441ed7c1449f06df37905ee6289aa93b85d4cb.tar.bz2
bpo-22377: Fixes documentation for %Z in datetime (GH-16507)
This fixes the issue discussed in https://bugs.python.org/issue22377 and fixes it according to the comments made by Paul Ganssle @pganssle * It clarifies which values are acceptable in the table * It extends the note with a clearer information on the valid values https://bugs.python.org/issue22377
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Documentation/2019-10-01-10-53-46.bpo-22377.5ni-iC.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2019-10-01-10-53-46.bpo-22377.5ni-iC.rst b/Misc/NEWS.d/next/Documentation/2019-10-01-10-53-46.bpo-22377.5ni-iC.rst
new file mode 100644
index 0000000..d2943f7
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2019-10-01-10-53-46.bpo-22377.5ni-iC.rst
@@ -0,0 +1,2 @@
+Improves documentation of the values that :meth:`datetime.datetime.strptime` accepts for ``%Z``.
+Patch by Karl Dubost.