We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe0284a commit 375790eCopy full SHA for 375790e
1 file changed
vm/src/obj/objmodule.rs
@@ -11,6 +11,8 @@ pub struct PyModule {
11
pub type PyModuleRef = PyRef<PyModule>;
12
13
impl PyValue for PyModule {
14
+ const HAVE_DICT: bool = true;
15
+
16
fn class(vm: &VirtualMachine) -> PyClassRef {
17
vm.ctx.module_type()
18
}
0 commit comments