MCPcopy Index your code
hub / github.com/RustPython/RustPython / ParamSpec

Class ParamSpec

crates/vm/src/stdlib/typevar.rs:457–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455 #[derive(Debug, PyPayload)]
456 #[allow(dead_code)]
457 pub struct ParamSpec {
458 name: PyObjectRef,
459 bound: Option<PyObjectRef>,
460 default_value: PyMutex<PyObjectRef>,
461 evaluate_default: PyMutex<PyObjectRef>,
462 covariant: bool,
463 contravariant: bool,
464 infer_variance: bool,
465 }
466
467 #[pyclass(
468 flags(HAS_DICT, HAS_WEAKREF),

Calls

no outgoing calls