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

Method keys

sortedcontainers/sorteddict.py:352–360  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

350
351
352 def keys(self):
353 """Return new sorted keys view of the sorted dict's keys.
354
355 See :class:`SortedKeysView` for details.
356
357 :return: new sorted keys view
358
359 """
360 return SortedKeysView(self)
361
362
363 def items(self):

Callers 7

test_keysFunction · 0.95
test_keysviewFunction · 0.95
kind_plotFunction · 0.80
mainFunction · 0.80
stress_items_keys_valuesFunction · 0.80
get_keysviewFunction · 0.80

Calls 1

SortedKeysViewClass · 0.85

Tested by 5

test_keysFunction · 0.76
test_keysviewFunction · 0.76
stress_items_keys_valuesFunction · 0.64
get_keysviewFunction · 0.64