diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/enum.rst | 4 | ||||
-rw-r--r-- | Doc/library/tkinter.tix.rst | 2 | ||||
-rw-r--r-- | Doc/library/typing.rst | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 8a02a55..60467b4 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -314,8 +314,8 @@ Then:: >>> str(Mood.funky) 'my custom str! 1' -The rules for what is allowed are as follows: names that start and end with a -with a single underscore are reserved by enum and cannot be used; all other +The rules for what is allowed are as follows: names that start and end with +a single underscore are reserved by enum and cannot be used; all other attributes defined within an enumeration will become members of this enumeration, with the exception of special methods (:meth:`__str__`, :meth:`__add__`, etc.) and descriptors (methods are also descriptors). diff --git a/Doc/library/tkinter.tix.rst b/Doc/library/tkinter.tix.rst index 9da7959..d66f595 100644 --- a/Doc/library/tkinter.tix.rst +++ b/Doc/library/tkinter.tix.rst @@ -142,7 +142,7 @@ Basic Widgets The `LabelEntry <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixLabelEntry.htm>`_ - widget packages an entry widget and a label into one mega widget. It can be used + widget packages an entry widget and a label into one mega widget. It can be used to simplify the creation of "entry-form" type of interface. .. Python Demo of: diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 6798d9a..25d7794 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -297,7 +297,7 @@ The module defines the following classes, functions and decorators: .. class:: Tuple - Tuple type; ``Tuple[X, Y]`` is the is the type of a tuple of two items + Tuple type; ``Tuple[X, Y]`` is the type of a tuple of two items with the first item of type X and the second of type Y. Example: ``Tuple[T1, T2]`` is a tuple of two elements corresponding |