Re: Difference between vars() and locals() and use case for vars()

2009-02-10 Thread python
Thank you Gabriel! Malcolm - Original message - From: "Gabriel Genellina" To: python-list@python.org Date: Wed, 11 Feb 2009 02:04:47 -0200 Subject: Re: Difference between vars() and locals() and use case for vars() En Wed, 11 Feb 2009 01:38:49 -0200, escribió: > Can so

Re: Difference between vars() and locals() and use case for vars()

2009-02-10 Thread Gabriel Genellina
En Wed, 11 Feb 2009 01:38:49 -0200, escribió: Can someone explain the difference between vars() and locals()? I'm also trying to figure out what the use case is for vars(), eg. when does it make sense to use vars() in a program? Without arguments, vars() returns the current namespace -- same

Difference between vars() and locals() and use case for vars()

2009-02-10 Thread python
Can someone explain the difference between vars() and locals()? I'm also trying to figure out what the use case is for vars(), eg. when does it make sense to use vars() in a program? Thank you, Malcolm -- http://mail.python.org/mailman/listinfo/python-list