Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
128641d1
Commit
128641d1
authored
May 22, 2017
by
Vijay Kumar
Committed by
Serhiy Storchaka
May 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling mistakes in tkinter.py (#1716)
Ran the docstrings through spell checker, and fixed spelling issues.
parent
89a5e032
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Lib/tkinter/__init__.py
Lib/tkinter/__init__.py
+6
-6
No files found.
Lib/tkinter/__init__.py
View file @
128641d1
...
...
@@ -1004,7 +1004,7 @@ class Misc:
return self.tk.getint(
self.tk.call('winfo', 'ismapped', self._w))
def winfo_manager(self):
"""Return the window mana
n
ger 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."""
...
...
@@ -1679,7 +1679,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. phot
e
bitmap)."""
"""Return a list of all available image types (e.g. phot
o
bitmap)."""
return self.tk.splitlist(self.tk.call('image', 'types'))
...
...
@@ -1818,7 +1818,7 @@ class Wm:
return self.tk.call('wm', 'focusmodel', self._w, model)
focusmodel = wm_focusmodel
def wm_forget(self, window): # new in Tk 8.5
"""The window will be unmappe
n
d from the screen and will no longer
"""The window will be unmapped from the screen and will no longer
be managed by wm. toplevel windows will be treated like frame
windows once they are no longer managed by wm, however, the menu
option configuration will be remembered and the menus will return
...
...
@@ -2527,7 +2527,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
closest
s
). 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
...
...
@@ -2587,7 +2587,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, wi
td
h, x, y."""
rotate, wi
dt
h, x, y."""
return self.tk.call((self._w, 'postscript') +
self._options(cnf, kw))
def tag_raise(self, *args):
...
...
@@ -3522,7 +3522,7 @@ class Image:
return self.tk.getint(
self.tk.call('image', 'height', self.name))
def type(self):
"""Return the type of the im
g
age, 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."""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment