K
Kless
if I define a function with several args. as
Kless said:if I define a function with several args. as
----------
def func(foo, bar)
----------
and is used with the changed args.:
----------
func(bar='wrong', foo='order')*
----------
it will change the order of args. and this is not desirable, how to
solve it?
I imagine this with a lot of args. and could be danger
Kless said:func(bar='wrong', foo='order')
Kless said:it will change the order of args. and this is not desirable, how to
solve it?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.