Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adjust slash position in macro definition
  • Loading branch information
Eclips4 committed May 20, 2023
commit a4341c7d16512f4df16718e6f3ab59d5e9a7a7b6
4 changes: 2 additions & 2 deletions Modules/mmapmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ do { \
return err; \
} \
} while (0)
#define CHECK_VALID_OR_RELEASE(err, buffer) \
#define CHECK_VALID_OR_RELEASE(err, buffer) \
do { \
if (self->map_handle == NULL) { \
PyErr_SetString(PyExc_ValueError, "mmap closed or invalid"); \
Expand All @@ -245,7 +245,7 @@ do { \
return err; \
} \
} while (0)
#define CHECK_VALID_OR_RELEASE(err, buffer) \
#define CHECK_VALID_OR_RELEASE(err, buffer) \
do { \
if (self->data == NULL) { \
PyErr_SetString(PyExc_ValueError, "mmap closed or invalid"); \
Expand Down