To those who caught the colon at the end of what I thought was going to be
def but turned out to be something else, thank.
On Wed, Dec 2, 2009 at 5:55 AM, Bruno Desthuilliers
wrote:
> On Wed, Dec 2, 2009 at 2:33 AM, Victor Subervi
>> wrote:
>>
>>>
>>> def colors(callingTable, which='', specific
On Wed, Dec 2, 2009 at 2:33 AM, Victor Subervi wrote:
def colors(callingTable, which='', specificTables=[]):
Warning : default arguments are eval'd only once, at function creation
time. This is a well known gotcha that can lead to unexpected behaviours
like:
def foo(x, bar=[])
bar.app
On Wed, Dec 2, 2009 at 2:33 AM, Victor Subervi wrote:
> I get the following error:
>
> /var/www/html/angrynates.com/cart/chooseOptions.py
> 8 from login import login
> 9 import string
> 10 import options
> 11 from particulars import optionsTables, addStore
> 12
> options undefine
I get the following error:
/var/www/html/angrynates.com/cart/chooseOptions.py
8 from login import login
9 import string
10 import options
11 from particulars import optionsTables, addStore
12
options undefined
SyntaxError: invalid syntax (options.py, line 140)
args = ('inv