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 6e99ad3 commit 3a81fd1Copy full SHA for 3a81fd1
vm/src/builtins.rs
@@ -786,7 +786,11 @@ pub fn make_module(ctx: &PyContext) -> PyObjectRef {
786
ctx.set_attr(&py_mod, "ValueError", ctx.exceptions.value_error.clone());
787
ctx.set_attr(&py_mod, "IndexError", ctx.exceptions.index_error.clone());
788
ctx.set_attr(&py_mod, "ImportError", ctx.exceptions.import_error.clone());
789
- ctx.set_attr(&py_mod, "StopIteration", ctx.exceptions.stop_iteration.clone());
+ ctx.set_attr(
790
+ &py_mod,
791
+ "StopIteration",
792
+ ctx.exceptions.stop_iteration.clone(),
793
+ );
794
795
py_mod
796
}
0 commit comments