MCPcopy Create free account
hub / github.com/JustinSDK/PyConTW2013Tutorial / sorted

Function sorted

labs/solutions/exercise14/util.py:4–23  ·  view source on GitHub ↗

sorted(xs) -> new sorted list from xs' item in ascending order. sorted(xs, func) -> new sorted list. func should return a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.

(xs, compare = ascending)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

__selectFunction · 0.70

Tested by

no test coverage detected