summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2021-05-03 03:19:51 (GMT)
committerGitHub <noreply@github.com>2021-05-03 03:19:51 (GMT)
commit8c598dbb9483bcfcb88fc579ebf27821d8861465 (patch)
tree29555566ce3e45c830658aa7129a200088e1dcfa /Misc
parentd52bbde9421987d216c600557ef5bc931d03efcc (diff)
downloadcpython-8c598dbb9483bcfcb88fc579ebf27821d8861465.zip
cpython-8c598dbb9483bcfcb88fc579ebf27821d8861465.tar.gz
cpython-8c598dbb9483bcfcb88fc579ebf27821d8861465.tar.bz2
bpo-25478: Add total() method to collections.Counter (GH-25829)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-05-02-19-17-20.bpo-25478.AwlwdA.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-05-02-19-17-20.bpo-25478.AwlwdA.rst b/Misc/NEWS.d/next/Library/2021-05-02-19-17-20.bpo-25478.AwlwdA.rst
new file mode 100644
index 0000000..81d2724
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-05-02-19-17-20.bpo-25478.AwlwdA.rst
@@ -0,0 +1,2 @@
+Added a *total()* method to collections.Counter() to compute the sum of the
+counts.