Searched refs:repr1 (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Lib/ |
D | repr.py | 24 return self.repr1(x, self.maxlevel) 26 def repr1(self, x, level): member in Repr 47 repr1 = self.repr1 48 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)] 81 repr1 = self.repr1 84 keyrepr = repr1(key, newlevel) 85 valrepr = repr1(x[key], newlevel)
|
D | pydoc.py | 421 def repr1(self, x, level): member in HTMLRepr 1004 def repr1(self, x, level): member in TextRepr
|
/external/python/cpython3/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 | 445 def repr1(self, x, level): member in HTMLRepr 1048 def repr1(self, x, level): member in TextRepr
|
/external/python/cpython2/Doc/library/ |
D | repr.rst | 105 .. method:: Repr.repr1(obj, level) 109 type-specific methods should call :meth:`repr1` to perform recursive formatting, 119 methods is handled by :meth:`repr1`. Type-specific methods which need to 120 recursively format a value should call ``self.repr1(subobj, level - 1)``. 128 The use of dynamic dispatching by :meth:`Repr.repr1` allows subclasses of
|
/external/python/cpython3/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
|
/external/python/cpython3/Lib/test/ |
D | test_types.py | 1285 repr1 = "{name}(c='cookie', spam={name}(...))".format(name=name) 1288 self.assertEqual(repr(ns1), repr1)
|