Skip to content

Commit b057dd8

Browse files
committed
Correctly document atan2.
1 parent 64583d3 commit b057dd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/mathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ FUNC1(math_asin, asin, math_asin_doc,
128128
FUNC1(math_atan, atan, math_atan_doc,
129129
"atan(x)\n\nReturn the arc tangent of x.")
130130
FUNC2(math_atan2, atan2, math_atan2_doc,
131-
"atan2(x)\n\nReturn atan(x /y).")
131+
"atan2(y, x)\n\nReturn atan(y/x).")
132132
FUNC1(math_ceil, ceil, math_ceil_doc,
133133
"ceil(x)\n\nReturn the ceiling of x as a real.")
134134
FUNC1(math_cos, cos, math_cos_doc,

0 commit comments

Comments
 (0)