Fix weakref type name

This commit is contained in:
Jeong YunWon committed 2020-08-23 20:28:15 +09:00
1 parent f8a5cc4b23
commit 5ca7ec7d2e
1 file changed
+1 -1
+1 -1
View File
@@ -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<PyObject<dyn PyObjectPayload>>,