From f844219d628bbd8a422b3e29d6cc4449b27cbb85 Mon Sep 17 00:00:00 2001 From: Akshay Sharma Date: Sun, 8 Apr 2018 19:10:41 +0530 Subject: [PATCH 1/2] bpo-25735: Changed documentation fo 'math.fabs' --- Doc/library/math.rst | 2 +- .../next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 33aec573a1f281b..dc0f8c65d4b552d 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -50,7 +50,7 @@ Number-theoretic and representation functions .. function:: factorial(x) - Return *x* factorial. Raises :exc:`ValueError` if *x* is not integral or + Return *x* factorial as an integer. Raises :exc:`ValueError` if *x* is not integral or is negative. diff --git a/Misc/NEWS.d/next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst b/Misc/NEWS.d/next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst new file mode 100644 index 000000000000000..1c30086e39e1a58 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst @@ -0,0 +1 @@ +Added documentations for :func:`fabs`, to take only integer input values. From 2d17a6ca9e1959ba1f463c52eb7b5b3e251dddce Mon Sep 17 00:00:00 2001 From: Akshay Sharma Date: Thu, 17 May 2018 18:56:36 +0530 Subject: [PATCH 2/2] Update 2018-04-08-19-09-22.bpo-25735.idVQBD.rst --- .../next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst b/Misc/NEWS.d/next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst index 1c30086e39e1a58..8d22cf69e170c8e 100644 --- a/Misc/NEWS.d/next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst +++ b/Misc/NEWS.d/next/Documentation/2018-04-08-19-09-22.bpo-25735.idVQBD.rst @@ -1 +1 @@ -Added documentations for :func:`fabs`, to take only integer input values. +Added documentation for func factorial to indicate that returns integer values