diff --git a/vm/src/obj/objweakref.rs b/vm/src/obj/objweakref.rs index be7019732..c203de9bd 100644 --- a/vm/src/obj/objweakref.rs +++ b/vm/src/obj/objweakref.rs @@ -11,7 +11,7 @@ use rustpython_common::rc::{PyRc, PyWeak as Weak}; use crossbeam_utils::atomic::AtomicCell; -#[pyclass(module = false, name = "ref")] +#[pyclass(module = false, name = "weakref")] #[derive(Debug)] pub struct PyWeak { referent: Weak>,