diff options
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 4 | ||||
-rwxr-xr-x | Lib/tkinter/Tkinter.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 916b3c8..1e49f6e 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -101,14 +101,14 @@ class StringVar(Variable): return self._tk.globalgetvar(self._name) class IntVar(Variable): - _default = "0" + _default = 0 def __init__(self, master=None): Variable.__init__(self, master) def get(self): return self._tk.getint(self._tk.globalgetvar(self._name)) class DoubleVar(Variable): - _default = "0.0" + _default = 0.0 def __init__(self, master=None): Variable.__init__(self, master) def get(self): diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index 916b3c8..1e49f6e 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/Tkinter.py @@ -101,14 +101,14 @@ class StringVar(Variable): return self._tk.globalgetvar(self._name) class IntVar(Variable): - _default = "0" + _default = 0 def __init__(self, master=None): Variable.__init__(self, master) def get(self): return self._tk.getint(self._tk.globalgetvar(self._name)) class DoubleVar(Variable): - _default = "0.0" + _default = 0.0 def __init__(self, master=None): Variable.__init__(self, master) def get(self): |