MCPcopy Create free account
hub / github.com/grantjenks/python-sortedcontainers / values

Method values

sortedcontainers/sorteddict.py:374–382  ·  view source on GitHub ↗

Return new sorted values view of the sorted dict's values. See :class:`SortedValuesView` for details. :return: new sorted values view

(self)

Source from the content-addressed store, hash-verified

372
373
374 def values(self):
375 """Return new sorted values view of the sorted dict's values.
376
377 See :class:`SortedValuesView` for details.
378
379 :return: new sorted values view
380
381 """
382 return SortedValuesView(self)
383
384
385 if sys.hexversion < 0x03000000:

Callers 5

test_valuesFunction · 0.95
test_valuesviewFunction · 0.95
test_values_view_indexFunction · 0.95
stress_items_keys_valuesFunction · 0.80

Calls 1

SortedValuesViewClass · 0.85

Tested by 5

test_valuesFunction · 0.76
test_valuesviewFunction · 0.76
test_values_view_indexFunction · 0.76
stress_items_keys_valuesFunction · 0.64