mirror of
https://github.com/python/cpython.git
synced 2025-12-11 19:40:17 +00:00
Use the MPD() accessor macro.
This commit is contained in:
parent
b547d395ab
commit
94ef3e4c1d
1 changed files with 2 additions and 2 deletions
|
|
@ -3745,9 +3745,9 @@ nm_dec_as_long(PyObject *dec)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
nm_nonzero(PyDecObject *v)
|
nm_nonzero(PyObject *v)
|
||||||
{
|
{
|
||||||
return !mpd_iszero(v->dec);
|
return !mpd_iszero(MPD(v));
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue