Skip to content

Commit

Permalink
Rename V -> SEQ
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Feb 12, 2024
1 parent bbf5699 commit 5e12106
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Modules/posixmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -12916,14 +12916,14 @@ _pystatvfs_fromstructstatfs(PyObject *module, struct statfs st) {

_Static_assert(sizeof(st.f_blocks) == sizeof(long long), "assuming large file");

#define SET_ITEM(V, INDEX, EXPR) \
do { \
PyObject *obj = (EXPR); \
if (obj == NULL) { \
Py_DECREF((V)); \
return NULL; \
} \
PyStructSequence_SET_ITEM((V), (INDEX), obj); \
#define SET_ITEM(SEQ, INDEX, EXPR) \
do { \
PyObject *obj = (EXPR); \
if (obj == NULL) { \
Py_DECREF((SEQ)); \
return NULL; \
} \
PyStructSequence_SET_ITEM((SEQ), (INDEX), obj); \
} while (0)

SET_ITEM(v, 0, PyLong_FromLong((long) st.f_iosize));
Expand Down

0 comments on commit 5e12106

Please sign in to comment.