Searched refs:getdouble (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_tcl.py | 180 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 …]
|
/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/tkinter/ |
D | __init__.py | 572 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 …]
|
D | simpledialog.py | 363 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).
|