mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Rename PyValue::{required_type => class}
This commit is contained in:
@@ -26,7 +26,7 @@ impl fmt::Debug for PyCode {
|
||||
}
|
||||
|
||||
impl PyValue for PyCode {
|
||||
fn required_type(ctx: &PyContext) -> PyObjectRef {
|
||||
fn class(ctx: &PyContext) -> PyObjectRef {
|
||||
ctx.code_type()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user