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

Method py_new

crates/stdlib/src/tkinter.rs:141–143  ·  view source on GitHub ↗
(_cls: &Py<PyType>, args: Self::Args, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

139 type Args = TkAppConstructorArgs;
140
141 fn py_new(_cls: &Py<PyType>, args: Self::Args, vm: &VirtualMachine) -> PyResult<Self> {
142 create(args, vm)
143 }
144 }
145
146 fn varname_converter(obj: PyObjectRef, vm: &VirtualMachine) -> PyResult<String> {

Callers

nothing calls this directly

Calls 1

createFunction · 0.70

Tested by

no test coverage detected