Rename PyValue::{required_type => class}

This commit is contained in:
Joey
2019-03-14 20:08:41 -07:00
parent a1e0c03a34
commit 737ec12fa5
32 changed files with 49 additions and 49 deletions

View File

@@ -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()
}
}