Skip to content

Commit f31f225

Browse files
bravegnuserhiy-storchaka
authored andcommitted
Fix spelling mistakes in tkinter.py (#1754)
Ran the docstrings through spell checker, and fixed spelling issues.
1 parent fd58340 commit f31f225

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Lib/lib-tk/Tkinter.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ def winfo_ismapped(self):
855855
return getint(
856856
self.tk.call('winfo', 'ismapped', self._w))
857857
def winfo_manager(self):
858-
"""Return the window mananger name for this widget."""
858+
"""Return the window manager name for this widget."""
859859
return self.tk.call('winfo', 'manager', self._w)
860860
def winfo_name(self):
861861
"""Return the name of this widget."""
@@ -1522,7 +1522,7 @@ def image_names(self):
15221522
return self.tk.splitlist(self.tk.call('image', 'names'))
15231523

15241524
def image_types(self):
1525-
"""Return a list of all available image types (e.g. phote bitmap)."""
1525+
"""Return a list of all available image types (e.g. photo bitmap)."""
15261526
return self.tk.splitlist(self.tk.call('image', 'types'))
15271527

15281528

@@ -2364,7 +2364,7 @@ def find_closest(self, x, y, halo=None, start=None):
23642364
"""Return item which is closest to pixel at X, Y.
23652365
If several match take the top-most.
23662366
All items closer than HALO are considered overlapping (all are
2367-
closests). If START is specified the next below this tag is taken."""
2367+
closest). If START is specified the next below this tag is taken."""
23682368
return self.find('closest', x, y, halo, start)
23692369
def find_enclosed(self, x1, y1, x2, y2):
23702370
"""Return all items in rectangle defined
@@ -2424,7 +2424,7 @@ def postscript(self, cnf={}, **kw):
24242424
"""Print the contents of the canvas to a postscript
24252425
file. Valid options: colormap, colormode, file, fontmap,
24262426
height, pageanchor, pageheight, pagewidth, pagex, pagey,
2427-
rotate, witdh, x, y."""
2427+
rotate, width, x, y."""
24282428
return self.tk.call((self._w, 'postscript') +
24292429
self._options(cnf, kw))
24302430
def tag_raise(self, *args):
@@ -3355,7 +3355,7 @@ def height(self):
33553355
return getint(
33563356
self.tk.call('image', 'height', self.name))
33573357
def type(self):
3358-
"""Return the type of the imgage, e.g. "photo" or "bitmap"."""
3358+
"""Return the type of the image, e.g. "photo" or "bitmap"."""
33593359
return self.tk.call('image', 'type', self.name)
33603360
def width(self):
33613361
"""Return the width of the image."""

0 commit comments

Comments
 (0)