aboutsummaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-01-25 11:56:33 +0200
committerGitHub <noreply@github.com>2021-01-25 11:56:33 +0200
commitcf19cc3b920ca5995e1c202d2c3dd7a59ac8eac8 (patch)
tree114c6f03de6e732ca7b81bd60d48b1a7f7968b33 /Misc
parent bpo-43013: Update idlelib code to 3.x (GH-24315) (diff)
downloadcpython-cf19cc3b920ca5995e1c202d2c3dd7a59ac8eac8.tar.gz
cpython-cf19cc3b920ca5995e1c202d2c3dd7a59ac8eac8.tar.bz2
cpython-cf19cc3b920ca5995e1c202d2c3dd7a59ac8eac8.zip
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 00000000000..7345152fee3
--- /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.