Searched refs:repr1 (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/ |
D | reprlib.py | 52 return self.repr1(x, self.maxlevel) 54 def repr1(self, x, level): member in Repr 70 repr1 = self.repr1 71 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)] 110 repr1 = self.repr1 113 keyrepr = repr1(key, newlevel) 114 valrepr = repr1(x[key], newlevel)
|
D | pydoc.py | 530 def repr1(self, x, level): member in HTMLRepr 1133 def repr1(self, x, level): member in TextRepr
|
/third_party/python/Doc/library/ |
D | reprlib.rst | 124 .. method:: Repr.repr1(obj, level) 128 type-specific methods should call :meth:`repr1` to perform recursive formatting, 138 handled by :meth:`repr1`. Type-specific methods which need to recursively 139 format a value should call ``self.repr1(subobj, level - 1)``. 147 The use of dynamic dispatching by :meth:`Repr.repr1` allows subclasses of
|
/third_party/python/Lib/test/ |
D | test_types.py | 1696 repr1 = "{name}(c='cookie', spam={name}(...))".format(name=name) 1699 self.assertEqual(repr(ns1), repr1)
|
/third_party/libabigail/include/ |
D | abg-ir.h | 503 string repr1 = get_pretty_representation(l); in operator() local 506 return repr1 == repr2; in operator()
|
/third_party/libabigail/src/ |
D | abg-ir.cc | 25699 string repr1 = get_pretty_representation(t1, /*internal=*/false), in type_has_sub_type_changes() local 25701 return (t1 != t2 && repr1 == repr2); in type_has_sub_type_changes()
|