Skip to content

Commit a71aea8

Browse files
committed
Add Slice object too
1 parent db6b9ed commit a71aea8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vm/src/stdlib/ast.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ pub fn make_module(vm: &VirtualMachine) -> PyObjectRef {
691691
"Return" => py_class!(ctx, "Return", &ast_base, {}),
692692
"Set" => py_class!(ctx, "Set", &ast_base, {}),
693693
"SetComp" => py_class!(ctx, "SetComp", &ast_base, {}),
694+
"Slice" => py_class!(ctx, "Slice", &ast_base, {}),
694695
"Starred" => py_class!(ctx, "Starred", &ast_base, {}),
695696
"Starred" => py_class!(ctx, "Starred", &ast_base, {}),
696697
"Str" => py_class!(ctx, "Str", &ast_base, {}),

0 commit comments

Comments
 (0)