From: matz@... (Yukihiro Matsumoto) Date: 2002-02-07T18:47:15+09:00 Subject: Re: returning multiple values from a method Hi, In message "Re: returning multiple values from a method" on 02/02/07, Phil Tomson writes: |> a = foo() # single assignment |> a, = foo() # retrieve first element |> a, b = foo() # first and second |> a, *b = foo() # first and rest | |So the general principle is that you can avoid the '*' prefix if you are |assigning to one and only one variable. | | a = foo() # single assignment |is the same as: | a* = foo() |Correct? You mean *a = foo() Yes. matz.