Skip to content

Commit 8f8ecba

Browse files
committed
remove redundant casts for PyDecObject
1 parent f0f5b73 commit 8f8ecba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_decimal/_decimal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5030,8 +5030,8 @@ dec_imag(PyObject *self, void *Py_UNUSED(closure))
50305030

50315031
static PyGetSetDef dec_getsets [] =
50325032
{
5033-
{ "real", (getter)dec_real, NULL, NULL, NULL},
5034-
{ "imag", (getter)dec_imag, NULL, NULL, NULL},
5033+
{ "real", dec_real, NULL, NULL, NULL},
5034+
{ "imag", dec_imag, NULL, NULL, NULL},
50355035
{NULL}
50365036
};
50375037

0 commit comments

Comments
 (0)