------------------------------------------------------------------------------------------
(text string)
| 110 | // ------------------------------------------------------------------------------------------ |
| 111 | |
| 112 | func Run(text string) error { |
| 113 | |
| 114 | t := C.CString(text) |
| 115 | defer C.free(unsafe.Pointer(t)) |
| 116 | |
| 117 | ret := C.PyRun_SimpleStringFlags(t, nil) |
| 118 | return int2Err(ret) |
| 119 | } |
| 120 | |
| 121 | // Return a dictionary of the builtins in the current execution frame, or the interpreter of |
| 122 | // the thread state if no frame is currently executing. |