On Sun, Nov 9, 2014 at 2:06 AM, Veek M wrote:
> https://docs.python.org/3.4/library/functools.html
>
> 1. "A key function is a callable that accepts one argument and returns
> another value indicating the position in the desired collation sequence."
>
> x = ['x','z','q']; sort(key=str.upper)
This
https://docs.python.org/3.4/library/functools.html
1. "A key function is a callable that accepts one argument and returns
another value indicating the position in the desired collation sequence."
x = ['x','z','q']; sort(key=str.upper)
My understanding is that, x, y, .. are passed to the key fun