summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/next/Library/2020-02-22-12-49-04.bpo-39648.Y-9N7F.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-02-23 13:21:29 +0200
committerGitHub <noreply@github.com>2020-02-23 11:21:29 +0000
commit559e7f165ad03731e6bc2211c0e6d8d9c02fb549 (patch)
tree0cf0f31bae98ea188a5fde21a1db4c068539dbdb /Misc/NEWS.d/next/Library/2020-02-22-12-49-04.bpo-39648.Y-9N7F.rst
parentfbe2e0bb8a7ee75d0f9d57682436dac7d69e202e (diff)
downloadcpython-git-559e7f165ad03731e6bc2211c0e6d8d9c02fb549.tar.gz
bpo-39648: Expand math.gcd() and math.lcm() to handle multiple arguments. (GH-18604)
* bpo-39648: Expand math.gcd() and math.lcm() to handle multiple arguments. * Simplify fast path. * Difine lcm() without arguments returning 1. * Apply suggestions from code review Co-Authored-By: Mark Dickinson <dickinsm@gmail.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Diffstat (limited to 'Misc/NEWS.d/next/Library/2020-02-22-12-49-04.bpo-39648.Y-9N7F.rst')
-rw-r--r--Misc/NEWS.d/next/Library/2020-02-22-12-49-04.bpo-39648.Y-9N7F.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-02-22-12-49-04.bpo-39648.Y-9N7F.rst b/Misc/NEWS.d/next/Library/2020-02-22-12-49-04.bpo-39648.Y-9N7F.rst
new file mode 100644
index 0000000000..f205911ad9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-02-22-12-49-04.bpo-39648.Y-9N7F.rst
@@ -0,0 +1 @@
+Expanded :func:`math.gcd` and :func:`math.lcm` to handle multiple arguments.