diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 16:55:01 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 16:55:01 (GMT) |
commit | 24b07bcba350bb86c4d6ca446e1564647a199868 (patch) | |
tree | 1815b1c49a6aec401da86b33fa81d06a0c735679 /Lib/lib-tk | |
parent | 1aa999c49ed82c89257c13cba5e210c3ba34c130 (diff) | |
download | cpython-24b07bcba350bb86c4d6ca446e1564647a199868.zip cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.gz cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.bz2 |
#11515: fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/Tix.py | 2 | ||||
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 2 | ||||
-rw-r--r-- | Lib/lib-tk/ttk.py | 2 | ||||
-rw-r--r-- | Lib/lib-tk/turtle.py | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py index c81cc83..48d6044 100644 --- a/Lib/lib-tk/Tix.py +++ b/Lib/lib-tk/Tix.py @@ -163,7 +163,7 @@ class tixCommand: extensions) exist, then the image type is chosen according to the depth of the X display: xbm images are chosen on monochrome displays and color images are chosen on color displays. By using - tix_ getimage, you can advoid hard coding the pathnames of the + tix_ getimage, you can avoid hard coding the pathnames of the image files in your application. When successful, this command returns the name of the newly created image, which can be used to configure the -image option of the Tk and Tix widgets. diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 1516d79..81d3ef2 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -1660,7 +1660,7 @@ class Wm: class Tk(Misc, Wm): """Toplevel widget of Tk which represents mostly the main window - of an appliation. It has an associated Tcl interpreter.""" + of an application. It has an associated Tcl interpreter.""" _w = '.' def __init__(self, screenName=None, baseName=None, className='Tk', useTk=1, sync=0, use=None): diff --git a/Lib/lib-tk/ttk.py b/Lib/lib-tk/ttk.py index af78788..d076266 100644 --- a/Lib/lib-tk/ttk.py +++ b/Lib/lib-tk/ttk.py @@ -993,7 +993,7 @@ class Panedwindow(Widget, Tkinter.PanedWindow): pane is either an integer index or the name of a managed subwindow. If kw is not given, returns a dict of the pane option values. If option is specified then the value for that option is returned. - Otherwise, sets the options to the correspoding values.""" + Otherwise, sets the options to the corresponding values.""" if option is not None: kw[option] = None return _val_or_dict(kw, self.tk.call, self._w, "pane", pane) diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index 23e407d..20d6e90 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -1385,7 +1385,7 @@ class TurtleScreen(TurtleScreenBase): Optional argument: picname -- a string, name of a gif-file or "nopic". - If picname is a filename, set the corresponing image as background. + If picname is a filename, set the corresponding image as background. If picname is "nopic", delete backgroundimage, if present. If picname is None, return the filename of the current backgroundimage. @@ -3221,7 +3221,7 @@ class RawTurtle(TPen, TNavigator): def dot(self, size=None, *color): """Draw a dot with diameter size, using color. - Optional argumentS: + Optional arguments: size -- an integer >= 1 (if given) color -- a colorstring or a numeric color tuple |