]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41887: omit leading spaces/tabs on ast.literal_eval (#22469)
authorBatuhan Taskaya <batuhanosmantaskaya@gmail.com>
Sun, 4 Oct 2020 00:46:44 +0000 (03:46 +0300)
committerGitHub <noreply@github.com>
Sun, 4 Oct 2020 00:46:44 +0000 (17:46 -0700)
commite799aa8b92c195735f379940acd9925961ad04ec
treea0308940ce67e0535be861bfc94f3d830bba6734
parent7f54e563dc150cd670ca8df678437455c3a7f2cd
bpo-41887: omit leading spaces/tabs on ast.literal_eval (#22469)

Also document that eval() does this (the same way).
Doc/library/ast.rst
Doc/library/functions.rst
Lib/ast.py
Lib/test/test_ast.py
Misc/NEWS.d/next/Library/2020-09-30-23-49-42.bpo-41887.-ee2S-.rst [new file with mode: 0644]