mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Fix weakref type name
This commit is contained in:
1 parent
f8a5cc4b23
commit
5ca7ec7d2e
1 file changed
+1
-1
@@ -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>>,
|
||||
|
||||
Reference in new issue
Block a user