MCPcopy Create free account
hub / github.com/apache/madlib / sorted

Function sorted

src/madpack/argparse.py:108–113  ·  view source on GitHub ↗
(iterable, reverse=False)

Source from the content-addressed store, hash-verified

106except NameError:
107 # for python < 2.4 compatibility:
108 def sorted(iterable, reverse=False):
109 result = list(iterable)
110 result.sort()
111 if reverse:
112 result.reverse()
113 return result
114
115
116def _callable(obj):

Callers 5

topsort_modulesFunction · 0.85
mainFunction · 0.85
_get_kwargsMethod · 0.85
_format_actions_usageMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected