Searched refs:getdouble (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_tcl.py | 163 self.assertEqual(tcl.getdouble(' 42 '), 42.0) 164 self.assertEqual(tcl.getdouble(' 42.5 '), 42.5) 165 self.assertEqual(tcl.getdouble(42.5), 42.5) 166 self.assertRaises(TypeError, tcl.getdouble) 167 self.assertRaises(TypeError, tcl.getdouble, '42.5', '10') 168 self.assertRaises(TypeError, tcl.getdouble, 42) 169 self.assertRaises(TclError, tcl.getdouble, 'a') 171 tcl.getdouble, '42.5\0') 173 self.assertEqual(tcl.getdouble(unicode('42.5')), 42.5) 175 tcl.getdouble, '42.5' + unichr(0xd800)) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_tcl.py | 163 self.assertEqual(tcl.getdouble(' 42 '), 42.0) 164 self.assertEqual(tcl.getdouble(' 42.5 '), 42.5) 165 self.assertEqual(tcl.getdouble(42.5), 42.5) 166 self.assertEqual(tcl.getdouble(42), 42.0) 167 self.assertRaises(TypeError, tcl.getdouble) 168 self.assertRaises(TypeError, tcl.getdouble, '42.5', '10') 169 self.assertRaises(TypeError, tcl.getdouble, b'42.5') 170 self.assertRaises(TclError, tcl.getdouble, 'a') 172 tcl.getdouble, '42.5\0') 174 tcl.getdouble, '42.5\ud800') [all …]
|
/external/python/cpython3/Lib/tkinter/ |
D | __init__.py | 538 return int(self._tk.getdouble(value)) 559 return self._tk.getdouble(self._tk.globalgetvar(self._name)) 599 getdouble = float variable 712 def getdouble(self, s): member in Misc 714 return self.tk.getdouble(s) 1079 return self.tk.getdouble(self.tk.call( 1435 return tuple(map(self.tk.getdouble, self.tk.splitlist(string))) 1740 return self.tk.getdouble(svalue) 2748 return self.tk.getdouble(self.tk.call( 2754 return self.tk.getdouble(self.tk.call( [all …]
|
D | simpledialog.py | 351 return self.getdouble(self.entry.get())
|
/external/python/cpython2/Lib/lib-tk/ |
D | Tkinter.py | 395 return getdouble(self._tk.globalgetvar(self._name)) 426 getdouble = float variable 520 getdouble = float variable in Misc 842 return getdouble(self.tk.call( 1146 return tuple(map(getdouble, self.tk.splitlist(string))) 1413 return getdouble(svalue) 2293 return getdouble(self.tk.call( 2298 return getdouble(self.tk.call( 2303 return map(getdouble, 2875 return getdouble(value) [all …]
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b1.rst | 548 Tkinter's getint() and getdouble() now support Tcl_Obj. Tkinter's 549 getdouble() now supports any numbers (in particular int).
|