Commit 1ac8d53b authored by Guido van Rossum's avatar Guido van Rossum

Change whitespace in two places to silence tabnanny.

Also fix spelling tupel -> tuple.
parent 6262e56d
......@@ -91,7 +91,7 @@ try: _cnfmerge = _tkinter._cnfmerge
except AttributeError: pass
class Event:
"""Container for the properties of an event.
"""Container for the properties of an event.
Instances of this type are generated if one of the following events occurs:
......@@ -677,12 +677,12 @@ class Misc:
return getint(
self.tk.call('winfo', 'pointerx', self._w))
def winfo_pointerxy(self):
"""Return a tupel of x and y coordinates of the pointer on the root window."""
"""Return a tuple of x and y coordinates of the pointer on the root window."""
return self._getints(
self.tk.call('winfo', 'pointerxy', self._w))
def winfo_pointery(self):
"""Return the y coordinate of the pointer on the root window."""
return getint(
return getint(
self.tk.call('winfo', 'pointery', self._w))
def winfo_reqheight(self):
"""Return requested height of this widget."""
......@@ -693,7 +693,7 @@ class Misc:
return getint(
self.tk.call('winfo', 'reqwidth', self._w))
def winfo_rgb(self, color):
"""Return tupel of decimal values for red, green, blue for
"""Return tuple of decimal values for red, green, blue for
COLOR in this widget."""
return self._getints(
self.tk.call('winfo', 'rgb', self._w, color))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment