Skip to content

Commit fdd32b2

Browse files
committed
Documentation for the names
1 parent 2288fd6 commit fdd32b2

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎vm/src/pyobjectrc.rs‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//! Essential types for object models
2+
//!
3+
//! +-------------------------+--------------+---------------+
4+
//! | Management | Typed | Untyped |
5+
//! +-------------------------+--------------+---------------+
6+
//! | Interpreter-independent | Py<T> | PyObject |
7+
//! | Reference-counted | PyRef<T> | PyObjectRef |
8+
//! | Weak | PyWeakRef<T> | PyRef<PyWeak> |
9+
//! +-------------------------+--------------+---------------+
10+
//!
11+
//! PyRef<PyWeak> may looking like to be called as PyObjectWeak by the rule,
12+
//! but not to do to remember it is a PyRef object.
13+
114
use crate::common::atomic::{OncePtr, PyAtomic, Radium};
215
use crate::common::linked_list::{Link, LinkedList, Pointers};
316
use crate::common::lock::{PyMutex, PyMutexGuard, PyRwLock};

0 commit comments

Comments
 (0)