MCPcopy Index your code
hub / github.com/python/cpython / sortnum

Function sortnum

Lib/test/test_keywordonlyarg.py:21–22  ·  view source on GitHub ↗
(*nums, reverse=False)

Source from the content-addressed store, hash-verified

19 return a + b + k1 + k2 + sum(arg) + sum(kwargs.values())
20
21def sortnum(*nums, reverse=False):
22 return sorted(list(nums), reverse=reverse)
23
24def sortwords(*words, reverse=False, **kwargs):
25 return sorted(list(words), reverse=reverse)

Callers 1

testFunctionCallMethod · 0.85

Calls 1

listClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…