diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-03-10 18:52:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-10 18:52:34 +0200 |
commit | 13d52c268699f199a8e917a0f1dc4c51e5346c42 (patch) | |
tree | d602c97d77e3222d38c6300ed822021e51bd9dce /Python/pylifecycle.c | |
parent | e5e56328afac50aad6d8893185d8e7ba8928afe2 (diff) | |
download | cpython-git-13d52c268699f199a8e917a0f1dc4c51e5346c42.tar.gz |
bpo-34822: Simplify AST for subscription. (GH-9605)
* Remove the slice type.
* Make Slice a kind of the expr type instead of the slice type.
* Replace ExtSlice(slices) with Tuple(slices, Load()).
* Replace Index(value) with a value itself.
All non-terminal nodes in AST for expressions are now of the expr type.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions