Home
last modified time | relevance | path

Searched refs:repr1 (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/
Drepr.py24 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)
Dpydoc.py421 def repr1(self, x, level): member in HTMLRepr
1004 def repr1(self, x, level): member in TextRepr
/external/python/cpython3/Lib/
Dreprlib.py52 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)
Dpydoc.py530 def repr1(self, x, level): member in HTMLRepr
1133 def repr1(self, x, level): member in TextRepr
/external/python/cpython2/Doc/library/
Drepr.rst105 .. 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/
Dreprlib.rst124 .. 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/
Dtest_types.py1314 repr1 = "{name}(c='cookie', spam={name}(...))".format(name=name)
1317 self.assertEqual(repr(ns1), repr1)
/external/libabigail/include/
Dabg-ir.h405 string repr1 = get_pretty_representation(l); in operator() local
408 return repr1 == repr2; in operator()
/external/libabigail/src/
Dabg-ir.cc23469 string repr1 = get_pretty_representation(t1), in type_has_sub_type_changes() local
23471 return (t1 != t2 && repr1 == repr2); in type_has_sub_type_changes()