Skip to content
Closed
Prev Previous commit
Next Next commit
Update Modules/mathmodule.c
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
  • Loading branch information
CharlieZhao95 and picnixz authored Jul 22, 2024
commit 3fc73e9671ccb57bc324ec34e9aee405bc86aa57
2 changes: 1 addition & 1 deletion Modules/mathmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@ math_modf_impl(PyObject *module, double x)
in that int is larger than PY_SSIZE_T_MAX. */

static PyObject*
loghelper(PyObject* arg, double (*func)(double), const char* err_msg)
loghelper(PyObject* arg, double (*func)(double), const char *err_msg)
{
/* If it is int, do it ourselves. */
if (PyLong_Check(arg)) {
Expand Down