mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
class-doc-fixed
This commit is contained in:
1 parent
f1e1046932
commit
af2f857956
1 file changed
-3
@@ -28,9 +28,6 @@ use indexmap::{map::Entry, IndexMap};
|
||||
use itertools::Itertools;
|
||||
use std::{borrow::Borrow, collections::HashSet, fmt, ops::Deref, pin::Pin, ptr::NonNull};
|
||||
|
||||
/// type(object_or_name, bases, dict)
|
||||
/// type(object) -> the object's type
|
||||
/// type(name, bases, dict) -> a new type
|
||||
#[pyclass(module = false, name = "type")]
|
||||
pub struct PyType {
|
||||
pub base: Option<PyTypeRef>,
|
||||
|
||||
Reference in new issue
Block a user