diff options
author | Vijay Kumar <vijaykumar@bravegnu.org> | 2017-05-23 06:16:27 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-05-23 06:16:27 (GMT) |
commit | f31f2254680c77581f7bfc91d079256cbeedb1c4 (patch) | |
tree | 2047c7222829a9d1bb9e89ad48b7aab3d51b1c1d | |
parent | fd58340e477d82141c90f90c7ec888c3aa9fe84a (diff) | |
download | cpython-f31f2254680c77581f7bfc91d079256cbeedb1c4.zip cpython-f31f2254680c77581f7bfc91d079256cbeedb1c4.tar.gz cpython-f31f2254680c77581f7bfc91d079256cbeedb1c4.tar.bz2 |
Fix spelling mistakes in tkinter.py (#1754)
Ran the docstrings through spell checker, and fixed spelling issues.
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 365f420..874e0ef 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -855,7 +855,7 @@ class Misc: return getint( self.tk.call('winfo', 'ismapped', self._w)) def winfo_manager(self): - """Return the window mananger name for this widget.""" + """Return the window manager name for this widget.""" return self.tk.call('winfo', 'manager', self._w) def winfo_name(self): """Return the name of this widget.""" @@ -1522,7 +1522,7 @@ class Misc: return self.tk.splitlist(self.tk.call('image', 'names')) def image_types(self): - """Return a list of all available image types (e.g. phote bitmap).""" + """Return a list of all available image types (e.g. photo bitmap).""" return self.tk.splitlist(self.tk.call('image', 'types')) @@ -2364,7 +2364,7 @@ class Canvas(Widget, XView, YView): """Return item which is closest to pixel at X, Y. If several match take the top-most. All items closer than HALO are considered overlapping (all are - closests). If START is specified the next below this tag is taken.""" + closest). If START is specified the next below this tag is taken.""" return self.find('closest', x, y, halo, start) def find_enclosed(self, x1, y1, x2, y2): """Return all items in rectangle defined @@ -2424,7 +2424,7 @@ class Canvas(Widget, XView, YView): """Print the contents of the canvas to a postscript file. Valid options: colormap, colormode, file, fontmap, height, pageanchor, pageheight, pagewidth, pagex, pagey, - rotate, witdh, x, y.""" + rotate, width, x, y.""" return self.tk.call((self._w, 'postscript') + self._options(cnf, kw)) def tag_raise(self, *args): @@ -3355,7 +3355,7 @@ class Image: return getint( self.tk.call('image', 'height', self.name)) def type(self): - """Return the type of the imgage, e.g. "photo" or "bitmap".""" + """Return the type of the image, e.g. "photo" or "bitmap".""" return self.tk.call('image', 'type', self.name) def width(self): """Return the width of the image.""" |