(obj: t.Optional[Expr])
| 888 | eval_ctx = get_eval_context(self, eval_ctx) |
| 889 | |
| 890 | def const(obj: t.Optional[Expr]) -> t.Optional[t.Any]: |
| 891 | if obj is None: |
| 892 | return None |
| 893 | return obj.as_const(eval_ctx) |
| 894 | |
| 895 | return slice(const(self.start), const(self.stop), const(self.step)) |
| 896 |
no test coverage detected