https://github.com/python/cpython/commit/79321fdce3227cf09bb8a2894d856753f1ba098e
commit: 79321fdce3227cf09bb8a2894d856753f1ba098e
branch: main
author: Sanjay Janardhan <[email protected]>
committer: rhettinger <[email protected]>
date: 2026-04-22T17:56:14-05:00
summary:
gh-148883: Docs: clarify grammar in Counter dictionary methods note (gh-148882)
files:
M Doc/library/collections.rst
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index cb9300f072b9e7..e42bdc06be09ff 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -326,7 +326,7 @@ For example::
.. versionadded:: 3.10
The usual dictionary methods are available for :class:`Counter` objects
- except for two which work differently for counters.
+ except for these two which work differently for counters:
.. method:: fromkeys(iterable)
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]