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

Class Literal

crates/vm/src/builtins/code.rs:183–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181#[derive(Clone)]
182#[repr(transparent)]
183pub struct Literal(PyObjectRef);
184
185impl Borrow<PyObject> for Literal {
186 fn borrow(&self) -> &PyObject {

Callers 14

fromMethod · 0.70
make_constantMethod · 0.70
make_intMethod · 0.70
make_tupleMethod · 0.70
make_codeMethod · 0.70
py_newMethod · 0.70
parse_literalMethod · 0.50
parseMethod · 0.50
sub_implMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected