commit | de2acf6512caeacd1ad53e55aa0528f65d1201c7 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sat Apr 15 03:22:46 2006 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sat Apr 15 03:22:46 2006 +0000 |
tree | 0229a13daa59add9513d78f2ddf294152b53c6e5 | |
parent | a13131cf7f74eb89ed2cc63a9df5859c9ba66258 [diff] |
frame_traverse(): Use the standard Py_VISIT macro. Py_VISIT: cast the `op` argument to PyObject* when calling `visit()`. Else the caller has to pay too much attention to this silly detail (e.g., frame_traverse needs to traverse `struct _frame *` and `PyCodeObject *` pointers too).