We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 51b8f76 + ca9b8ba commit 491af24Copy full SHA for 491af24
1 file changed
vm/src/pyobject.rs
@@ -1129,7 +1129,7 @@ pub trait PyStructSequence: StaticType + PyClassImpl + Sized + 'static {
1129
fn repr(zelf: PyRef<PyTuple>, vm: &VirtualMachine) -> PyResult<String> {
1130
let format_field = |(value, name)| {
1131
let s = vm.to_repr(value)?;
1132
- Ok(format!("{}: {}", name, s))
+ Ok(format!("{}={}", name, s))
1133
};
1134
let (body, suffix) =
1135
if let Some(_guard) = rustpython_vm::vm::ReprGuard::enter(vm, zelf.as_object()) {
0 commit comments