Thanks to visit codestin.com
Credit goes to github.com

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
Update Modules/_decimal/_decimal.c
Co-authored-by: Erlend E. Aasland <[email protected]>
  • Loading branch information
CharlieZhao95 and erlend-aasland authored Jun 27, 2023
commit 4faa64575f63fed9e5a1d3307e64a744c2c6c3cc
2 changes: 1 addition & 1 deletion Modules/_decimal/_decimal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ PyDecType_New(PyTypeObject *type)

return (PyObject *)dec;
}
#define dec_alloc(st) PyDecType_New(st->PyDec_Type)
#define dec_alloc(st) PyDecType_New((st)->PyDec_Type)

static int
dec_traverse(PyObject *dec, visitproc visit, void *arg)
Expand Down