Mercurial > cpython-lru_cache-weakref
comparison Python/ceval.c @ 32531:87d196e1c2d0 legacy-trunk
Remove unused macros in .c files
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Thu, 08 Jul 2004 01:49:00 +0000 |
| parents | 78bd25b42d46 |
| children | b8c2aa2be19a |
comparison
equal
deleted
inserted
replaced
| 32530:2451c9572edf | 32531:87d196e1c2d0 |
|---|---|
| 3802 Py_XDECREF(kwdict); | 3802 Py_XDECREF(kwdict); |
| 3803 Py_XDECREF(stararg); | 3803 Py_XDECREF(stararg); |
| 3804 return result; | 3804 return result; |
| 3805 } | 3805 } |
| 3806 | 3806 |
| 3807 #define SLICE_ERROR_MSG \ | |
| 3808 "standard sequence type does not support step size other than one" | |
| 3809 | |
| 3810 /* Extract a slice index from a PyInt or PyLong, and store in *pi. | 3807 /* Extract a slice index from a PyInt or PyLong, and store in *pi. |
| 3811 Silently reduce values larger than INT_MAX to INT_MAX, and silently | 3808 Silently reduce values larger than INT_MAX to INT_MAX, and silently |
| 3812 boost values less than -INT_MAX to 0. Return 0 on error, 1 on success. | 3809 boost values less than -INT_MAX to 0. Return 0 on error, 1 on success. |
| 3813 */ | 3810 */ |
| 3814 /* Note: If v is NULL, return success without storing into *pi. This | 3811 /* Note: If v is NULL, return success without storing into *pi. This |
