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

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


https://hg.python.org/cpython/rev/469bc90e8922
changeset:   101197:469bc90e8922
branch:      3.5
parent:      101195:5871b48f4c2e
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sun May 01 11:27:37 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