Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grantjenks/python-sortedcontainers
/ get_itemsview
Function
get_itemsview
tests/test_coverage_sorteddict.py:29–33 ·
view source on GitHub ↗
(dic)
Source
from the content-addressed store, hash-verified
27
return
dic.keys()
28
29
def
get_itemsview(dic):
30
if
hexversion < 0x03000000:
31
return
dic.viewitems()
32
else
:
33
return
dic.items()
34
35
def
test_init():
36
temp = SortedDict()
Callers
1
test_itemsview
Function · 0.85
Calls
1
items
Method · 0.80
Tested by
no test coverage detected