Cleans up pyclassmethod definition

This commit is contained in:
sobolevn
2021-08-12 20:04:32 +03:00
parent 8cf3506f53
commit e00fd52954

View File

@@ -49,7 +49,7 @@ mod decl {
.into_ref_with_type(vm, cls)
}
#[pyclassmethod(name = "from_iterable")]
#[pyclassmethod]
fn from_iterable(
cls: PyTypeRef,
iterable: PyObjectRef,