Am Tue, 21 Sep 2010 11:35:14 -0700 (PDT)
schrieb joblack :
> Let's say I've got a function with
>
> def doesSomething(A='bla'):
> ...
>
> and I try to call it with a non existent variable with
>
> doesSomething(DoesNotExist)
>
> What will happen? Will it throw an exception or will it take the
Let's say I've got a function with
def doesSomething(A='bla'):
...
and I try to call it with a non existent variable with
doesSomething(DoesNotExist)
What will happen? Will it throw an exception or will it take the
defautl value?
--
http://mail.python.org/mailman/listinfo/python-list