summaryrefslogtreecommitdiffstats
path: root/polymatrix/expression/init/initgetitemexpr.py
diff options
context:
space:
mode:
Diffstat (limited to 'polymatrix/expression/init/initgetitemexpr.py')
-rw-r--r--polymatrix/expression/init/initgetitemexpr.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/polymatrix/expression/init/initgetitemexpr.py b/polymatrix/expression/init/initgetitemexpr.py
new file mode 100644
index 0000000..140fa3a
--- /dev/null
+++ b/polymatrix/expression/init/initgetitemexpr.py
@@ -0,0 +1,12 @@
+from polymatrix.expression.mixins.expressionbasemixin import ExpressionBaseMixin
+from polymatrix.expression.impl.getitemexprimpl import GetItemExprImpl
+
+
+def init_get_item_expr(
+ underlying: ExpressionBaseMixin,
+ index: tuple,
+):
+ return GetItemExprImpl(
+ underlying=underlying,
+ index=index,
+)