Module FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad Call NameLoad NameLoad body If CompareLt SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Assign TupleStore SubscriptStore NameLoad Index NameLoad SubscriptStore NameLoad Index NameLoad TupleLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list
N/A selection_sort N/A N/A a N/A N/A N/A 
    Sorts the list 'a' using Selection sort algorithm

    >>> from pydsa import selection_sort
    >>> a = [3, 4, 2, 1, 12, 9]
    >>> selection_sort(a)
    [1, 2, 3, 4, 9, 12]

     N/A i N/A range N/A len a N/A N/A j N/A range i N/A len a N/A N/A N/A N/A a N/A j N/A a N/A i N/A N/A N/A N/A a N/A i N/A a N/A j N/A N/A a N/A j N/A a N/A i N/A a N/A