mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-17 01:51:39 +09:00
Rename PyValue::{required_type => class}
This commit is contained in:
@@ -30,7 +30,7 @@ impl Deref for PyBytes {
|
||||
}
|
||||
|
||||
impl PyValue for PyBytes {
|
||||
fn required_type(ctx: &PyContext) -> PyObjectRef {
|
||||
fn class(ctx: &PyContext) -> PyObjectRef {
|
||||
ctx.bytes_type()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user