summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorMike Gleen <mike.gleen@gmail.com>2019-06-18 19:14:57 +0100
committerPaul Ganssle <pganssle@users.noreply.github.com>2019-06-18 19:14:57 +0100
commit6b9c204ee77a0de87d6f51a3d4547a18604cef9e (patch)
treee07329c362e57061ba6cc59258b812569c808ac4 /Python/import.c
parent59543347d12a7717235f941e7fd363d4df92984a (diff)
downloadcpython-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/import.c')
0 files changed, 0 insertions, 0 deletions