···44import { py } from '../../ts-python';
55import type { MaybePyDsl } from '../base';
66import { PyDsl } from '../base';
77-// import { f } from '../utils/factories';
77+import { f } from '../utils/factories';
8899export type ReturnExpr = NodeName | MaybePyDsl<py.Expression>;
1010export type ReturnCtor = (expr?: ReturnExpr) => ReturnPyDsl;
···3131 }
3232}
33333434-// f.return.set((...args) => new ReturnPyDsl(...args));
3434+f.return.set((...args) => new ReturnPyDsl(...args));
···2626import type { PyLiteral as _PyLiteral } from './nodes/expressions/literal';
2727import type { PyMemberExpression as _PyMemberExpression } from './nodes/expressions/member';
2828import type { PySetExpression as _PySetExpression } from './nodes/expressions/set';
2929+import type { PySubscriptExpression as _PySubscriptExpression } from './nodes/expressions/subscript';
3030+import type { PySubscriptSlice as _PySubscriptSlice } from './nodes/expressions/subscript-slice';
2931import type { PyTupleExpression as _PyTupleExpression } from './nodes/expressions/tuple';
3032import type { PyYieldExpression as _PyYieldExpression } from './nodes/expressions/yield';
3133import type { PyYieldFromExpression as _PyYieldFromExpression } from './nodes/expressions/yieldFrom';
···110112 export type Literal = _PyLiteral;
111113 export type MemberExpression = _PyMemberExpression;
112114 export type SetExpression = _PySetExpression;
115115+ export type SubscriptExpression = _PySubscriptExpression;
116116+ export type SubscriptSlice = _PySubscriptSlice;
113117 export type TupleExpression = _PyTupleExpression;
114118 export type YieldExpression = _PyYieldExpression;
115119 export type YieldFromExpression = _PyYieldFromExpression;
···1212import type { PyLiteral } from './expressions/literal';
1313import type { PyMemberExpression } from './expressions/member';
1414import type { PySetExpression } from './expressions/set';
1515+import type { PySubscriptExpression } from './expressions/subscript';
1616+import type { PySubscriptSlice } from './expressions/subscript-slice';
1517import type { PyTupleExpression } from './expressions/tuple';
1618import type { PyYieldExpression } from './expressions/yield';
1719import type { PyYieldFromExpression } from './expressions/yieldFrom';
···3133 | PyLiteral
3234 | PyMemberExpression
3335 | PySetExpression
3636+ | PySubscriptExpression
3737+ | PySubscriptSlice
3438 | PyTupleExpression
3539 | PyYieldExpression
3640 | PyYieldFromExpression;