]> granicus.if.org Git - python/commitdiff
Change whitespace in two places to silence tabnanny.
authorGuido van Rossum <guido@python.org>
Thu, 6 Jul 2000 05:34:14 +0000 (05:34 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 6 Jul 2000 05:34:14 +0000 (05:34 +0000)
Also fix spelling tupel -> tuple.

Lib/lib-tk/Tkinter.py

index 1a0c9c30577c27b1c4f89f3f6ce2ee54d33f15d8..a70e0643c72dd55ab52ead5a9d8676e53dbefc4b 100644 (file)
@@ -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))