This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author c3-timjbaer
Recipients c3-timjbaer, docs@python
Date 2021-06-29.23:41:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625010093.71.0.0337806588286.issue44538@roundup.psfhosted.org>
In-reply-to
Content
Based off the ast 3.9.6 documentation  (https://docs.python.org/3/library/ast.html), we would expect `Slice` to inherit from `expr`. However, looking at `ast.Slice.__mro__` produces the following output: `(<class '_ast.Slice'>, <class '_ast.slice'>, <class '_ast.AST'>, <class 'object'>)`.

It appears that instead of inheriting from `expr`, `Slice` inherits from `slice` which appears to be a deprecated type.
History
Date User Action Args
2021-06-29 23:41:33c3-timjbaersetrecipients: + c3-timjbaer, docs@python
2021-06-29 23:41:33c3-timjbaersetmessageid: <1625010093.71.0.0337806588286.issue44538@roundup.psfhosted.org>
2021-06-29 23:41:33c3-timjbaerlinkissue44538 messages
2021-06-29 23:41:33c3-timjbaercreate