]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correctly document atan2.
authorGuido van Rossum <guido@python.org>
Tue, 8 Dec 1998 16:27:10 +0000 (16:27 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 8 Dec 1998 16:27:10 +0000 (16:27 +0000)
Modules/mathmodule.c

index 1d559e1e9628a5bc61c12dc8072c439e14108cb1..a241c60aecfdcc583db6464a83dfab5ec81e0db2 100644 (file)
@@ -128,7 +128,7 @@ FUNC1(math_asin, asin, math_asin_doc,
 FUNC1(math_atan, atan, math_atan_doc,
       "atan(x)\n\nReturn the arc tangent of x.")
 FUNC2(math_atan2, atan2, math_atan2_doc,
-      "atan2(x)\n\nReturn atan(x /y).")
+      "atan2(y, x)\n\nReturn atan(y/x).")
 FUNC1(math_ceil, ceil, math_ceil_doc,
       "ceil(x)\n\nReturn the ceiling of x as a real.")
 FUNC1(math_cos, cos, math_cos_doc,