Merge pull request #2870 from sobolevn/pyclassmethod-cleanup

Cleans up `pyclassmethod` definition
This commit is contained in:
Jeong YunWon
2021-08-13 02:38:42 +09:00
committed by GitHub

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,