Re: polymorphic function question

2010-09-21 Thread Gregor Horvath
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

polymorphic function question

2010-09-21 Thread 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 defautl value? -- http://mail.python.org/mailman/listinfo/python-list