Skip to content

Commit 0e11c49

Browse files
committed
Docstring fix: acosh() returns the hyperbolic arccosine, not the
hyperbolic cosine. Problem report via David Ascher by one of his students.
1 parent caa69fd commit 0e11c49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/cmathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static Py_complex c_acosh(x)
6464
static char c_acosh_doc [] =
6565
"acosh(x)\n\
6666
\n\
67-
Return the hyperbolic cosine of x.";
67+
Return the hyperbolic arccosine of x.";
6868

6969

7070
static Py_complex c_asin(x)

0 commit comments

Comments
 (0)