Function Karana::Core::findVariablesInFrame#
Defined in File pybind11Utils.h
Function Documentation#
-
inline void Karana::Core::findVariablesInFrame(py::object frame, py::handle obj, DelFns &del_fns)#
Find all variables that point to object in the given frame.
This searches the locals, globals, and any objects named self. For anything it finds, it registers a function to delete that variable from the dictionaries it was found on with the del_fns.
- Parameters:
frame – The frame to search in.
obj – The object to search for.
del_fns – The DelFns to register delete functions with.