Skip to content

Commit e19c3c1

Browse files
committed
removed commented out function in builtins
1 parent 1e1e9d2 commit e19c3c1

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

vm/src/builtins.rs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -359,18 +359,7 @@ fn builtin_setattr(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult {
359359
// builtin_slice
360360
// builtin_sorted
361361
// builtin_staticmethod
362-
363-
// fn builtin_len(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult {
364-
// arg_check!(vm, args, required = [(obj, None)]);
365-
// match obj.borrow().kind {
366-
367-
// PyObjectKind::List { ref elements } => {
368-
// Ok(vm.context().new_int(elements.len() as i32))
369-
// }
370-
// _ => Err(vm.new_type_error("unsupported operand type(s) for mod".to_string()))
371-
// }
372-
// }
373-
362+
// builtin_sum
374363
// builtin_super
375364
// builtin_vars
376365
// builtin_zip

0 commit comments

Comments
 (0)