diff options
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 4 |
1 files changed, 2 insertions, 2 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): |