Home
last modified time | relevance | path

Searched refs:_itemgetter (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/
Dcollections.py21 from operator import itemgetter as _itemgetter, eq as _eq unknown
383 namespace = dict(_itemgetter=_itemgetter, __name__='namedtuple_%s' % typename,
494 return sorted(self.iteritems(), key=_itemgetter(1), reverse=True)
495 return _heapq.nlargest(n, self.iteritems(), key=_itemgetter(1))
/external/python/cpython3/Lib/collections/
D__init__.py21 from operator import itemgetter as _itemgetter, eq as _eq unknown
459 itemgetter_object = _itemgetter(index)
583 return sorted(self.items(), key=_itemgetter(1), reverse=True)
584 return _heapq.nlargest(n, self.items(), key=_itemgetter(1))
/external/python/cpython2/Doc/library/
Dcollections.rst651 x = _property(_itemgetter(0), doc='Alias for field number 0')
653 y = _property(_itemgetter(1), doc='Alias for field number 1')