From 5ca7ec7d2ecae2f3416c47f1a2913b29eee25829 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Sun, 23 Aug 2020 20:28:15 +0900 Subject: [PATCH] Fix weakref type name --- vm/src/obj/objweakref.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>,