Searched refs:getdouble (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_tcl.py | 162 self.assertEqual(tcl.getdouble(' 42 '), 42.0) 163 self.assertEqual(tcl.getdouble(' 42.5 '), 42.5) 164 self.assertEqual(tcl.getdouble(42.5), 42.5) 165 self.assertEqual(tcl.getdouble(42), 42.0) 166 self.assertRaises(TypeError, tcl.getdouble) 167 self.assertRaises(TypeError, tcl.getdouble, '42.5', '10') 168 self.assertRaises(TypeError, tcl.getdouble, b'42.5') 169 self.assertRaises(TclError, tcl.getdouble, 'a') 171 tcl.getdouble, '42.5\0') 173 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 | 510 return int(self._tk.getdouble(value)) 529 return self._tk.getdouble(self._tk.globalgetvar(self._name)) 564 getdouble = float variable 664 def getdouble(self, s): member in Misc 666 return self.tk.getdouble(s) 992 return self.tk.getdouble(self.tk.call( 1294 return tuple(map(self.tk.getdouble, self.tk.splitlist(string))) 1571 return self.tk.getdouble(svalue) 2457 return self.tk.getdouble(self.tk.call( 2462 return self.tk.getdouble(self.tk.call( [all …]
|
D | simpledialog.py | 347 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).
|