Skip to content

Commit 1199177

Browse files
committed
leave fixme to wrong object.__str__ impl
1 parent ab9573f commit 1199177

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vm/src/builtins/object.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ impl PyBaseObject {
183183
/// Return str(self).
184184
#[pymethod(magic)]
185185
fn str(zelf: PyObjectRef, vm: &VirtualMachine) -> PyResult<PyStrRef> {
186+
// FIXME: try tp_repr first and fallback to object.__repr__
186187
zelf.repr(vm)
187188
}
188189

0 commit comments

Comments
 (0)