Missing the functional mind set

Magnus Lie Hetland mlh at idi.ntnu.no
Sat Mar 3 17:18:04 EST 2001


"Kirby Urner" <urner at alumni.princeton.edu> wrote in message
news:ntg2atcemm3hp9rb26hn7c5uin4dfn8lc9 at 4ax.com...
> Daniel Klein <danielk at aracnet.com> wrote:
[snip]
> you could go:
>
>   >>> params = [None]*3 # list

This should be

    >>> params = [None]*4

>   >>> params[2] = uv1   # uservalue for param 2
>   >>> params[3] = uv2
>   >>> params[1] = uv3
>   >>> params[0] = uv4
>
[...]
> Kirby
>
--

  Magnus Lie Hetland          http://www.hetland.org

 "Reality is what refuses to disappear when you stop
  believing in it"                 -- Philip K. Dick






More information about the Python-list mailing list