summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-10 01:17:51 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-10 01:17:51 (GMT)
commit2dafcc25a99cd8ae5e95fa9c7a1d926c90c9c2d4 (patch)
tree168587693fd27da286830c56d2cd40d59360c4d1 /Doc
parent78a54c03117711de66169230fc4eba7f0abd79af (diff)
downloadcpython-2dafcc25a99cd8ae5e95fa9c7a1d926c90c9c2d4.zip
cpython-2dafcc25a99cd8ae5e95fa9c7a1d926c90c9c2d4.tar.gz
cpython-2dafcc25a99cd8ae5e95fa9c7a1d926c90c9c2d4.tar.bz2
Issues #26310, #26311: Fix typos in the documentation
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/pyexpat.rst4
-rw-r--r--Doc/library/ttk.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst
index 5876d1d..0c8e7fc 100644
--- a/Doc/library/pyexpat.rst
+++ b/Doc/library/pyexpat.rst
@@ -595,9 +595,9 @@ Content Model Descriptions
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
-Content modules are described using nested tuples. Each tuple contains four
+Content models are described using nested tuples. Each tuple contains four
values: the type, the quantifier, the name, and a tuple of children. Children
-are simply additional content module descriptions.
+are simply additional content model descriptions.
The values of the first two fields are constants defined in the ``model`` object
of the :mod:`xml.parsers.expat` module. These constants can be collected in two
diff --git a/Doc/library/ttk.rst b/Doc/library/ttk.rst
index ad4aa92..051601d 100644
--- a/Doc/library/ttk.rst
+++ b/Doc/library/ttk.rst
@@ -293,7 +293,7 @@ Besides the methods inherited from :class:`Widget` (:meth:`Widget.cget`,
:meth:`Widget.configure`, :meth:`Widget.identify`, :meth:`Widget.instate`
and :meth:`Widget.state`) and those inherited from :class:`Entry`
(:meth:`Entry.bbox`, :meth:`Entry.delete`, :meth:`Entry.icursor`,
-:meth:`Entry.index`, :meth:`Entry.inset`, :meth:`Entry.selection`,
+:meth:`Entry.index`, :meth:`Entry.insert`, :meth:`Entry.selection`,
:meth:`Entry.xview`), this class has some other methods, described at
:class:`ttk.Combobox`.