Home
last modified time | relevance | path

Searched refs:getdouble (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/test/
Dtest_tcl.py180 self.assertEqual(tcl.getdouble(' 42 '), 42.0)
181 self.assertEqual(tcl.getdouble(' 42.5 '), 42.5)
182 self.assertEqual(tcl.getdouble(42.5), 42.5)
183 self.assertEqual(tcl.getdouble(42), 42.0)
184 self.assertRaises(TypeError, tcl.getdouble)
185 self.assertRaises(TypeError, tcl.getdouble, '42.5', '10')
186 self.assertRaises(TypeError, tcl.getdouble, b'42.5')
187 self.assertRaises(TclError, tcl.getdouble, 'a')
189 tcl.getdouble, '42.5\0')
191 tcl.getdouble, '42.5\ud800')
[all …]
/third_party/python/Lib/tkinter/
D__init__.py572 return int(self._tk.getdouble(value))
593 return self._tk.getdouble(self._tk.globalgetvar(self._name))
633 getdouble = float variable
746 def getdouble(self, s): member in Misc
748 return self.tk.getdouble(s)
1117 return self.tk.getdouble(self.tk.call(
1472 return tuple(map(self.tk.getdouble, self.tk.splitlist(string)))
1777 return self.tk.getdouble(svalue)
2781 return self.tk.getdouble(self.tk.call(
2787 return self.tk.getdouble(self.tk.call(
[all …]
Dsimpledialog.py363 return self.getdouble(self.entry.get())
/third_party/python/Misc/NEWS.d/
D3.5.0b1.rst548 Tkinter's getint() and getdouble() now support Tcl_Obj. Tkinter's
549 getdouble() now supports any numbers (in particular int).