anything like C++ references?

Ian Bicking ianb at
Sun Jul 13 21:52:59 CEST 2003

On Sun, 2003-07-13 at 08:56, Stephen Horne wrote:>
> You are not directly returning multiple values - you are returning a
> tuple. You can return containers in C++ too. The only difference is
> that Python makes working with tuples *much* easier

Of course, anything you can do in Python you can do in any other
language.  The *whole point* is that Python is so much easier.  Don't
worry so much about every equivalent feature or about translating every
C++ idiom to Python.  Just write your programs -- they'll be different
from C++, but that's okay.


More information about the Python-list mailing list