Mercurial > cpython-lru_cache-weakref
diff Include/structseq.h @ 42796:e1a36559d8b6
Remove PyArg_Parse usage from time module. (An extra set of eyeballs on
this would be nice. I'm a little rusty.)
| author | Skip Montanaro <skip@pobox.com> |
|---|---|
| date | Fri, 24 Aug 2007 21:11:00 +0000 |
| parents | 1afb228e4265 |
| children | cab14be0ada1 |
line wrap: on
line diff
--- a/Include/structseq.h Fri Aug 24 20:00:37 2007 +0000 +++ b/Include/structseq.h Fri Aug 24 21:11:00 2007 +0000 @@ -35,6 +35,10 @@ #define PyStructSequence_SET_ITEM(op, i, v) \ (((PyStructSequence *)(op))->ob_item[i] = v) +#define PyStructSequence_GET_ITEM(op, i) \ + (((PyStructSequence *)(op))->ob_item[i]) + + #ifdef __cplusplus } #endif
