mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-17 01:51:39 +09:00
Attempt to reduce the size of the pyobject.rs files by splitting out builtin types.
This commit is contained in:
@@ -47,5 +47,5 @@ impl PyValue for PyMemoryView {
|
||||
}
|
||||
|
||||
pub fn init(ctx: &PyContext) {
|
||||
PyMemoryView::extend_class(ctx, &ctx.memoryview_type)
|
||||
PyMemoryView::extend_class(ctx, &ctx.types.memoryview_type)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user