MCPcopy Create free account
hub / github.com/csev/py4e / sash

Class sash

code3/wikigrade.py:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

wikigrade.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected