diff options
| author | Mike Gleen <mike.gleen@gmail.com> | 2019-06-18 19:14:57 +0100 |
|---|---|---|
| committer | Paul Ganssle <pganssle@users.noreply.github.com> | 2019-06-18 19:14:57 +0100 |
| commit | 6b9c204ee77a0de87d6f51a3d4547a18604cef9e (patch) | |
| tree | e07329c362e57061ba6cc59258b812569c808ac4 /Python/codecs.c | |
| parent | 59543347d12a7717235f941e7fd363d4df92984a (diff) | |
| download | cpython-git-6b9c204ee77a0de87d6f51a3d4547a18604cef9e.tar.gz | |
bpo-34903: Document that some strptime formats only require 1 digit (GH-14149)
For datetime.datetime.strptime(), the leading zero for some two-digit formats is optional.
This adds a footnote to the strftime/strptime documentation to reflect this fact, and adds some tests to ensure that it is true.
bpo-34903
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions
