MCPcopy Index your code
hub / github.com/csev/py4e / sortvalues

Method sortvalues

code/wikigrade.py:20–21  ·  view source on GitHub ↗
(self,reverse=True)

Source from the content-addressed store, hash-verified

18# A slightly extended dictionary
19class sash(dict):
20 def sortvalues(self,reverse=True):
21 return sorted(self.items(),key=lambda x: (x[1], x[0]), reverse=reverse)
22
23def tinyTable(url):
24 global cur,conn

Callers 1

wikigrade.pyFile · 0.45

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected