summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-01-25 09:56:33 (GMT)
committerGitHub <noreply@github.com>2021-01-25 09:56:33 (GMT)
commitcf19cc3b920ca5995e1c202d2c3dd7a59ac8eac8 (patch)
tree114c6f03de6e732ca7b81bd60d48b1a7f7968b33 /Misc
parent8dfe15625e6ea4357a13fec7989a0e6ba2bf1359 (diff)
downloadcpython-cf19cc3b920ca5995e1c202d2c3dd7a59ac8eac8.zip
cpython-cf19cc3b920ca5995e1c202d2c3dd7a59ac8eac8.tar.gz
cpython-cf19cc3b920ca5995e1c202d2c3dd7a59ac8eac8.tar.bz2
bpo-27772: Make preceding width with 0 valid in string format. (GH-11270)
Previously it was an error with confusing error message.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-12-20-23-59-23.bpo-27772.idHEcj.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-12-20-23-59-23.bpo-27772.idHEcj.rst b/Misc/NEWS.d/next/Core and Builtins/2018-12-20-23-59-23.bpo-27772.idHEcj.rst
new file mode 100644
index 0000000..7345152
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-12-20-23-59-23.bpo-27772.idHEcj.rst
@@ -0,0 +1,2 @@
+In string formatting, preceding the *width* field by ``'0'`` no longer
+affects the default alignment for strings.