(self, index)
| 572 | **{k: as_expr(v) for k, v in kwargs.items()}) |
| 573 | |
| 574 | def __getitem__(self, index): |
| 575 | # Provided to support C indexing operations that .pyf files |
| 576 | # may contain. |
| 577 | index = as_expr(index) |
| 578 | if not isinstance(index, tuple): |
| 579 | index = index, |
| 580 | if len(index) > 1: |
| 581 | ewarn(f'C-index should be a single expression but got `{index}`') |
| 582 | return Expr(Op.INDEXING, (self,) + index) |
| 583 | |
| 584 | def substitute(self, symbols_map): |
| 585 | """Recursively substitute symbols with values in symbols map. |