diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-02-10 01:17:51 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-02-10 01:17:51 (GMT) |
commit | 96a4f07107476c0038ff1302b7ef779cab07e8ae (patch) | |
tree | 209d9fe2647330179040ef4b57dc2c3617853333 /Doc/library | |
parent | 763f9f0d89548e02c2efcd843655944584d6d33f (diff) | |
download | cpython-96a4f07107476c0038ff1302b7ef779cab07e8ae.zip cpython-96a4f07107476c0038ff1302b7ef779cab07e8ae.tar.gz cpython-96a4f07107476c0038ff1302b7ef779cab07e8ae.tar.bz2 |
Issues #26310, #26311: Fix typos in the documentation and code comments
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/pyexpat.rst | 4 | ||||
-rw-r--r-- | Doc/library/tkinter.ttk.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst index 620ffb1..bb95431 100644 --- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -570,9 +570,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 :mod:`xml.parsers.expat.model` module. These constants can be collected in two diff --git a/Doc/library/tkinter.ttk.rst b/Doc/library/tkinter.ttk.rst index 4601171..4efdfac 100644 --- a/Doc/library/tkinter.ttk.rst +++ b/Doc/library/tkinter.ttk.rst @@ -299,7 +299,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 the following 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`, it has some other methods, described at :class:`ttk.Combobox`. |