Issue #27993: Fix problems with the plural “objects” in docs and comments
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index bdc699f..af34895 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -181,7 +181,7 @@
prog
^^^^
-By default, :class:`ArgumentParser` objects uses ``sys.argv[0]`` to determine
+By default, :class:`ArgumentParser` objects use ``sys.argv[0]`` to determine
how to display the name of the program in help messages. This default is almost
always desirable because it will make the help messages match how the program was
invoked on the command line. For example, consider a file named
@@ -512,7 +512,7 @@
^^^^^^^^^^^^^^^^
:class:`ArgumentParser` objects do not allow two actions with the same option
-string. By default, :class:`ArgumentParser` objects raises an exception if an
+string. By default, :class:`ArgumentParser` objects raise an exception if an
attempt is made to create an argument with an option string that is already in
use::
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index e5a99ea..afbd611 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -328,7 +328,7 @@
Example
-------
-This simple example shows how an application can use objects IDs to retrieve
+This simple example shows how an application can use object IDs to retrieve
objects that it has seen before. The IDs of the objects can then be used in
other data structures without forcing the objects to remain alive, but the
objects can still be retrieved by ID if they do.
diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst
index 4d98015..ee1d28c 100644
--- a/Doc/library/xml.dom.rst
+++ b/Doc/library/xml.dom.rst
@@ -419,7 +419,7 @@
^^^^^^^^^^^^^^^^
A :class:`NodeList` represents a sequence of nodes. These objects are used in
-two ways in the DOM Core recommendation: the :class:`Element` objects provides
+two ways in the DOM Core recommendation: an :class:`Element` object provides
one as its list of child nodes, and the :meth:`getElementsByTagName` and
:meth:`getElementsByTagNameNS` methods of :class:`Node` return objects with this
interface to represent query results.