mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Cleans up pyclassmethod definition
This commit is contained in:
@@ -49,7 +49,7 @@ mod decl {
|
||||
.into_ref_with_type(vm, cls)
|
||||
}
|
||||
|
||||
#[pyclassmethod(name = "from_iterable")]
|
||||
#[pyclassmethod]
|
||||
fn from_iterable(
|
||||
cls: PyTypeRef,
|
||||
iterable: PyObjectRef,
|
||||
|
||||
Reference in New Issue
Block a user