Skip to content

Commit ffece09

Browse files
committed
wip: resolve conflicts after rebase
1 parent 9759a7d commit ffece09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vm/src/builtins/builtin_func.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use super::{type_, PyClassMethod, PyStaticMethod, PyStr, PyStrRef, PyType};
2-
use crate::builtins::pystr::IntoPyStrRef;
32
use crate::{
43
class::PyClassImpl,
54
function::{FuncArgs, IntoPyNativeFunc, PyNativeFunc},
@@ -157,7 +156,7 @@ impl PyBuiltinFunction {
157156
} else {
158157
zelf.class().name().to_string()
159158
};
160-
format!("{}.{}", prefix, &self.value.name).into_pystr_ref(vm)
159+
PyStr::from(format!("{}.{}", prefix, &self.value.name)).into_ref(&vm.ctx)
161160
} else {
162161
self.name()
163162
}

0 commit comments

Comments
 (0)