We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac9da4 commit 17b816fCopy full SHA for 17b816f
vm/src/obj/objset.rs
@@ -86,11 +86,13 @@ fn create_set(
86
elements: RefCell::new(elements),
87
},
88
PySet::class(vm),
89
+ None,
90
))
91
} else if objtype::issubclass(&cls, &vm.ctx.frozenset_type()) {
92
Ok(PyObject::new(
93
PyFrozenSet { elements: elements },
94
PyFrozenSet::class(vm),
95
96
97
} else {
98
Err(vm.new_type_error(format!("{} is not a subtype of set or frozenset", cls)))
0 commit comments