diff options
author | Skip Montanaro <skip@pobox.com> | 2007-08-24 21:11:00 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2007-08-24 21:11:00 (GMT) |
commit | 41cfce9c2bcfe6153ee2b42e05ff1d782d1d3b91 (patch) | |
tree | d29c82adfa534b7f7689a2004222858803febc65 /Include/structseq.h | |
parent | b382b84abec70ca86683972ac1b0170d93ba7ea4 (diff) | |
download | cpython-41cfce9c2bcfe6153ee2b42e05ff1d782d1d3b91.zip cpython-41cfce9c2bcfe6153ee2b42e05ff1d782d1d3b91.tar.gz cpython-41cfce9c2bcfe6153ee2b42e05ff1d782d1d3b91.tar.bz2 |
Remove PyArg_Parse usage from time module. (An extra set of eyeballs on
this would be nice. I'm a little rusty.)
Diffstat (limited to 'Include/structseq.h')
-rw-r--r-- | Include/structseq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/structseq.h b/Include/structseq.h index e662916..a482bd8 100644 --- a/Include/structseq.h +++ b/Include/structseq.h @@ -35,6 +35,10 @@ typedef struct { #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 |