Skip to content

Commit c04f421

Browse files
committed
Removed the __code__ attribute from the builtin_function_or_method type.
1 parent cc56f31 commit c04f421

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

vm/src/obj/objfunction.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ pub fn init(context: &PyContext) {
2222
context.new_rustfunc(bind_method),
2323
);
2424

25-
context.set_attr(
26-
&builtin_function_or_method_type,
27-
"__code__",
28-
context.new_member_descriptor(function_code),
29-
);
30-
3125
let member_descriptor_type = &context.member_descriptor_type;
3226
context.set_attr(
3327
&member_descriptor_type,

0 commit comments

Comments
 (0)