summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBatuhan Taskaya <batuhanosmantaskaya@gmail.com>2020-10-04 00:46:44 (GMT)
committerGitHub <noreply@github.com>2020-10-04 00:46:44 (GMT)
commite799aa8b92c195735f379940acd9925961ad04ec (patch)
treea0308940ce67e0535be861bfc94f3d830bba6734 /Misc
parent7f54e563dc150cd670ca8df678437455c3a7f2cd (diff)
downloadcpython-e799aa8b92c195735f379940acd9925961ad04ec.zip
cpython-e799aa8b92c195735f379940acd9925961ad04ec.tar.gz
cpython-e799aa8b92c195735f379940acd9925961ad04ec.tar.bz2
bpo-41887: omit leading spaces/tabs on ast.literal_eval (#22469)
Also document that eval() does this (the same way).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-09-30-23-49-42.bpo-41887.-ee2S-.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-09-30-23-49-42.bpo-41887.-ee2S-.rst b/Misc/NEWS.d/next/Library/2020-09-30-23-49-42.bpo-41887.-ee2S-.rst
new file mode 100644
index 0000000..2a43ab3
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-09-30-23-49-42.bpo-41887.-ee2S-.rst
@@ -0,0 +1,2 @@
+Strip leading spaces and tabs on :func:`ast.literal_eval`. Also document
+stripping of spaces and tabs for :func:`eval`.