[Python-checkins] cpython (merge 3.5 -> default): Issue #26898: Fix typo in math.isclose() docstring

berker.peksag python-checkins at python.org
Sun May 1 04:28:40 EDT 2016


https://hg.python.org/cpython/rev/634764b4675c
changeset:   101198:634764b4675c
parent:      101196:94471357db08
parent:      101197:469bc90e8922
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sun May 01 11:27:59 2016 +0300
summary:
  Issue #26898: Fix typo in math.isclose() docstring

Patch by Marco Buttu.

files:
  Modules/mathmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -2046,7 +2046,7 @@
 }
 
 PyDoc_STRVAR(math_isclose_doc,
-"is_close(a, b, *, rel_tol=1e-09, abs_tol=0.0) -> bool\n"
+"isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0) -> bool\n"
 "\n"
 "Determine whether two floating point numbers are close in value.\n"
 "\n"

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list