Home
last modified time | relevance | path

Searched refs:as_tuple (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/core/
Dconverter.py169 def as_tuple(self): member in ConversionOptions
174 return hash(self.as_tuple())
178 return self.as_tuple() == other.as_tuple()
/external/fonttools/Tests/pens/
DquartzPen_test.py42 elements.append((elem_type, element.points.as_tuple(num_points)))
/external/python/cpython2/Mac/Demo/quicktime/
DVerySimplePlayer.py33 theWindow = Win.NewCWindow(bounds, fss.as_tuple()[2], 0, 0, -1, 1, 0)
/external/python/cpython2/Lib/test/
Dtest_decimal.py1496 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/
Dfactory.py181 as_tuple = tuple(row)
182 self.assertEqual(list(reversed(row)), list(reversed(as_tuple)))
/external/python/cpython3/Lib/sqlite3/test/
Dfactory.py216 as_tuple = tuple(row)
217 self.assertEqual(list(reversed(row)), list(reversed(as_tuple)))
/external/python/cpython2/Lib/logging/
Dconfig.py483 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/cpython3/Lib/logging/
Dconfig.py480 def as_tuple(self, value): member in BaseConfigurator
737 config['mailhost'] = self.as_tuple(config['mailhost'])
740 config['address'] = self.as_tuple(config['address'])
/external/python/cpython2/Lib/plat-mac/
Dic.py220 file = file.as_tuple()[2]
DEasyDialogs.py732 vrefnum, dirid, name = rr.selection[0].as_tuple()
Dfindertools.py686 trashfolder = Carbon.Folder.FSFindFolder(fss.as_tuple()[0], 'trsh', 0)
/external/python/cpython3/Lib/test/
Dtest_decimal.py2027 self.assertEqual(d.as_tuple(), (0, (0,), 0) )
2031 self.assertEqual(d.as_tuple(), (1, (4, 5), 0) )
2035 self.assertEqual(d.as_tuple(), (1, (4, 3, 4, 9, 1, 3, 5, 3, 4), -25) )
2040 self.assertEqual(d.as_tuple(), (0, (0,), 'F') )
2044 self.assertEqual(d.as_tuple(), (0, (4, 0, 5, 3, 4), -2) )
2046 self.assertEqual(d.as_tuple(), (1, (0,), 37))
2048 self.assertEqual(d.as_tuple(), (1, (0,), 37))
2052 self.assertEqual(d.as_tuple(), (0, (4, 0, 5, 3, 4), 'n') )
2054 self.assertEqual(d.as_tuple(), (1, (), 'N') )
2056 self.assertEqual(d.as_tuple(), (1, (), 'n') )
[all …]
Dtest_statistics.py60 aexp = a.as_tuple()[2]
61 bexp = b.as_tuple()[2]
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py841 t.cresults.append(t.rc.as_tuple())
845 t.presults.append(t.rp.as_tuple())
851 t.maxresults.append(t.rmax.as_tuple())
/external/python/cpython2/Lib/
Dfractions.py197 sign, digits, exp = dec.as_tuple()
Ddecimal.py986 def as_tuple(self): member in Decimal
/external/python/cpython2/Doc/library/
Ddecimal.rst428 .. 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/cpython3/Doc/library/
Ddecimal.rst473 .. method:: as_tuple()
1040 the exception of the :meth:`adjusted` and :meth:`as_tuple` methods) there is
1858 sign, digits, exp = value.quantize(q).as_tuple()
/external/python/cpython3/Lib/
D_pydecimal.py969 def as_tuple(self): member in Decimal
/external/python/cpython2/Doc/whatsnew/
D2.6.rst1873 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/cpython3/Doc/whatsnew/
D2.6.rst1877 the :meth:`Decimal.as_tuple` method now returns a named tuple with
1940 The :meth:`as_tuple` method of :class:`Decimal` objects now returns a
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst1804 Decimal.as_tuple(), difflib.find_longest_match() and inspect functions that