Skip to content

Commit a257062

Browse files
committed
Issue python#26898: Fix typo in math.isclose() docstring
Patch by Marco Buttu.
2 parents aa9d369 + d6e6f8b commit a257062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/mathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@ math_isclose(PyObject *self, PyObject *args, PyObject *kwargs)
20462046
}
20472047

20482048
PyDoc_STRVAR(math_isclose_doc,
2049-
"is_close(a, b, *, rel_tol=1e-09, abs_tol=0.0) -> bool\n"
2049+
"isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0) -> bool\n"
20502050
"\n"
20512051
"Determine whether two floating point numbers are close in value.\n"
20522052
"\n"

0 commit comments

Comments
 (0)