From 6a9076aaa9e1f57e10b03fb6681048a402f98dac Mon Sep 17 00:00:00 2001 From: Sanjay Janardhan <21janardhansanjay@gmail.com> Date: Wed, 22 Apr 2026 13:37:12 -0400 Subject: [PATCH] Docs: clarify grammar in Counter dictionary methods note Change 'except for two which work differently for counters.' to 'except for these two which work differently for counters:' so the sentence reads as an introduction to the list of methods that follows. --- Doc/library/collections.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)