Marcin Ciura <[EMAIL PROTECTED]> writes:

>    node = node.next = nextnode
>
> only to discover that Python performs chained assignments
> backwards compared to other languages, i.e. left-to-right
> instead of right-to-left.

What makes you think so?

    >>> a = "foo"
    >>> b = "bar"
    >>> c = "baz"
    >>> a = b = c
    >>> a, b, c
    ('baz', 'baz', 'baz')

-- 
 \        "During my service in the United States Congress, I took the |
  `\                 initiative in creating the Internet."  -- Al Gore |
_o__)                                                                  |
Ben Finney

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to