Convert a list of indices ``[0, 1, 2]`` into ``"arrays[0][1][2]"``.
(index)
| 467 | |
| 468 | |
| 469 | def _block_format_index(index): |
| 470 | """ |
| 471 | Convert a list of indices ``[0, 1, 2]`` into ``"arrays[0][1][2]"``. |
| 472 | """ |
| 473 | idx_str = ''.join('[{}]'.format(i) for i in index if i is not None) |
| 474 | return 'arrays' + idx_str |
| 475 | |
| 476 | |
| 477 | def _block_check_depths_match(arrays, parent_index=[]): |
no test coverage detected