Int returns an integer from the raw Python object.
()
| 321 | |
| 322 | // Int returns an integer from the raw Python object. |
| 323 | func (ob *PyObject) Int() int { |
| 324 | return int(C.PyLong_AsUnsignedLongLong(ob.rawptr)) |
| 325 | } |
| 326 | |
| 327 | // Time returns the time from the raw Python object. |
| 328 | func (ob *PyObject) Time() time.Time { |
no outgoing calls