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

Method globalgetvar

crates/stdlib/src/tkinter.rs:312–323  ·  view source on GitHub ↗
(
            &self,
            args: TkAppGetVarArgs,
            vm: &VirtualMachine,
        )

Source from the content-addressed store, hash-verified

310
311 #[pymethod]
312 fn globalgetvar(
313 &self,
314 args: TkAppGetVarArgs,
315 vm: &VirtualMachine,
316 ) -> PyResult<PyObjectRef> {
317 self.var_invoke();
318 self.inner_getvar(
319 args,
320 tk_sys::TCL_LEAVE_ERR_MSG | tk_sys::TCL_GLOBAL_ONLY,
321 vm,
322 )
323 }
324
325 #[pymethod]
326 fn getint(&self, arg: PyObjectRef, vm: &VirtualMachine) -> PyResult<PyObjectRef> {

Callers 6

getMethod · 0.80
getMethod · 0.80
getMethod · 0.80
getMethod · 0.80
getMethod · 0.80
_testFunction · 0.80

Calls 2

var_invokeMethod · 0.80
inner_getvarMethod · 0.80

Tested by

no test coverage detected