summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-08 16:17:33 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-06-08 16:17:33 (GMT)
commitfeaceaafe816e95c4aff15eab0bea6dc2bbfe4fd (patch)
tree1809f17e0075595a64c31ff9ee19cb1b5c605a15 /Misc
parent6324ac1293b2cf71559869b88f89f510f9a62a8e (diff)
downloadcpython-feaceaafe816e95c4aff15eab0bea6dc2bbfe4fd.zip
cpython-feaceaafe816e95c4aff15eab0bea6dc2bbfe4fd.tar.gz
cpython-feaceaafe816e95c4aff15eab0bea6dc2bbfe4fd.tar.bz2
bpo-37178: Allow a one argument form of math.perm() (GH-13905) (GH-13919)
(cherry picked from commit e119b3d136bd94d880bce4b382096f6de3f38062) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-06-07-17-11-34.bpo-37178.b1StSv.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2019-06-07-17-16-09.bpo-37178.Day_oB.rst2
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-06-07-17-11-34.bpo-37178.b1StSv.rst b/Misc/NEWS.d/next/Library/2019-06-07-17-11-34.bpo-37178.b1StSv.rst
new file mode 100644
index 0000000..77b8723
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-06-07-17-11-34.bpo-37178.b1StSv.rst
@@ -0,0 +1,2 @@
+For math.perm(n, k), let k default to n, giving the same result as
+factorial.
diff --git a/Misc/NEWS.d/next/Library/2019-06-07-17-16-09.bpo-37178.Day_oB.rst b/Misc/NEWS.d/next/Library/2019-06-07-17-16-09.bpo-37178.Day_oB.rst
new file mode 100644
index 0000000..500ef54
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-06-07-17-16-09.bpo-37178.Day_oB.rst
@@ -0,0 +1,2 @@
+Give math.perm() a one argument form that means the same as
+math.factorial().