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
...@@ -677,7 +677,7 @@ class Misc: ...@@ -677,7 +677,7 @@ class Misc:
return getint( return getint(
self.tk.call('winfo', 'pointerx', self._w)) self.tk.call('winfo', 'pointerx', self._w))
def winfo_pointerxy(self): 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( return self._getints(
self.tk.call('winfo', 'pointerxy', self._w)) self.tk.call('winfo', 'pointerxy', self._w))
def winfo_pointery(self): def winfo_pointery(self):
...@@ -693,7 +693,7 @@ class Misc: ...@@ -693,7 +693,7 @@ class Misc:
return getint( return getint(
self.tk.call('winfo', 'reqwidth', self._w)) self.tk.call('winfo', 'reqwidth', self._w))
def winfo_rgb(self, color): 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.""" COLOR in this widget."""
return self._getints( return self._getints(
self.tk.call('winfo', 'rgb', self._w, color)) 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