MCPcopy Create free account
hub / github.com/ActiveState/code / items

Method items

recipes/Python/576998_Sorted_dictionary/recipe-576998.py:108–111  ·  view source on GitHub ↗

D.items() -> a list of (key, value) pairs sorted by keys (add reverse=True for reverse ordering).

(self, reverse=False)

Source from the content-addressed store, hash-verified

106 return list(self.itervalues(reverse))
107
108 def items(self, reverse=False):
109 '''D.items() -> a list of (key, value) pairs sorted by keys
110 (add reverse=True for reverse ordering).'''
111 return list(self.iteritems(reverse))
112
113 @dictdoc
114 def clear(self):

Callers 11

gotoFunction · 0.45
FtEncryptMethod · 0.45
__new__Method · 0.45
recipe-576913.pyFile · 0.45
_obs_notifyMethod · 0.45
delist_argumentsFunction · 0.45
__timerThreadMethod · 0.45
email_itFunction · 0.45
_bind_allFunction · 0.45
bind_allFunction · 0.45
__call__Method · 0.45

Calls 2

iteritemsMethod · 0.95
listClass · 0.85

Tested by

no test coverage detected