We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddc801e commit a809746Copy full SHA for a809746
vm/src/builtins/set.rs
@@ -66,7 +66,8 @@ impl fmt::Debug for PySet {
66
impl fmt::Debug for PyFrozenSet {
67
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
68
// TODO: implement more detailed, non-recursive Debug formatter
69
- f.write_str("frozenset")
+ f.write_str("PyFrozenSet ")?;
70
+ f.debug_set().entries(self.elements().iter()).finish()
71
}
72
73
0 commit comments