MCPcopy Create free account
hub / github.com/goplus/py / GetLocals

Function GetLocals

code.go:134–137  ·  view source on GitHub ↗

Return a dictionary of the global variables in the current execution frame, or NULL if no frame is currently executing. Return value: Borrowed reference

()

Source from the content-addressed store, hash-verified

132//
133// Return value: Borrowed reference
134func GetLocals() *Base {
135 ret := C.PyEval_GetLocals()
136 return newObject(ret)
137}
138
139// Return a dictionary of the local variables in the current execution frame,
140// or NULL if no frame is currently executing.

Callers

nothing calls this directly

Calls 1

newObjectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…