polymorphic function question

joblack tobias.koeck at gmail.com
Tue Sep 21 14:35:14 EDT 2010


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?



More information about the Python-list mailing list