Home
last modified time | relevance | path

Searched refs:_repr_iterable (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
Drepr.py41 def _repr_iterable(self, x, level, left, right, maxiter, trail=''): member in Repr
55 return self._repr_iterable(x, level, '(', ')', self.maxtuple, ',')
58 return self._repr_iterable(x, level, '[', ']', self.maxlist)
62 return self._repr_iterable(x, level, header, '])', self.maxarray)
66 return self._repr_iterable(x, level, 'set([', '])', self.maxset)
70 return self._repr_iterable(x, level, 'frozenset([', '])',
74 return self._repr_iterable(x, level, 'deque([', '])', self.maxdeque)
/external/python/cpython3/Lib/
Dreprlib.py64 def _repr_iterable(self, x, level, left, right, maxiter, trail=''): member in Repr
78 return self._repr_iterable(x, level, '(', ')', self.maxtuple, ',')
81 return self._repr_iterable(x, level, '[', ']', self.maxlist)
87 return self._repr_iterable(x, level, header, '])', self.maxarray)
93 return self._repr_iterable(x, level, '{', '}', self.maxset)
99 return self._repr_iterable(x, level, 'frozenset({', '})',
103 return self._repr_iterable(x, level, 'deque([', '])', self.maxdeque)