Searched refs:as_tuple (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Mac/Demo/quicktime/ |
D | VerySimplePlayer.py | 33 theWindow = Win.NewCWindow(bounds, fss.as_tuple()[2], 0, 0, -1, 1, 0)
|
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 1496 self.assertEqual(d.as_tuple(), (0, (0,), 0) ) 1500 self.assertEqual(d.as_tuple(), (1, (4, 5), 0) ) 1504 self.assertEqual(d.as_tuple(), (1, (4, 3, 4, 9, 1, 3, 5, 3, 4), -25) ) 1508 self.assertEqual(d.as_tuple(), (0, (0,), 'F') ) 1512 self.assertEqual(d.as_tuple(), (0, (4, 0, 5, 3, 4), -2) ) 1514 self.assertEqual(d.as_tuple(), (1, (0,), 37)) 1516 self.assertEqual(d.as_tuple(), (1, (0,), 37)) 1520 self.assertEqual(d.as_tuple(), (0, (4, 0, 5, 3, 4), 'n') ) 1522 self.assertEqual(d.as_tuple(), (1, (), 'N') ) 1524 self.assertEqual(d.as_tuple(), (1, (), 'n') ) [all …]
|
/external/python/cpython2/Lib/sqlite3/test/ |
D | factory.py | 181 as_tuple = tuple(row) 182 self.assertEqual(list(reversed(row)), list(reversed(as_tuple)))
|
/external/python/cpython2/Lib/logging/ |
D | config.py | 483 def as_tuple(self, value): member in BaseConfigurator 726 config['mailhost'] = self.as_tuple(config['mailhost']) 729 config['address'] = self.as_tuple(config['address'])
|
/external/python/cpython2/Lib/plat-mac/ |
D | ic.py | 220 file = file.as_tuple()[2]
|
D | EasyDialogs.py | 732 vrefnum, dirid, name = rr.selection[0].as_tuple()
|
D | findertools.py | 686 trashfolder = Carbon.Folder.FSFindFolder(fss.as_tuple()[0], 'trsh', 0)
|
/external/python/cpython2/Lib/ |
D | fractions.py | 197 sign, digits, exp = dec.as_tuple()
|
D | decimal.py | 986 def as_tuple(self): member in Decimal
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 428 .. method:: as_tuple() 1068 the exception of the :meth:`adjusted` and :meth:`as_tuple` methods) there is 1786 sign, digits, exp = value.quantize(q).as_tuple()
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 1873 the :meth:`Decimal.as_tuple` method now returns a named tuple with 1936 The :meth:`as_tuple` method of :class:`Decimal` objects now returns a
|
/external/python/cpython2/Misc/ |
D | NEWS | 11038 - Decimal.as_tuple(), difflib.find_longest_match() and inspect
|