lo there all,

if i have a function that sometimes needs a value passed to it and sometimes
not, is this where i use *args ?

like this

def some_function(req_var, req_var2, un_req_var):
   do some stuff
   return value

how would i use this if sometimes i need to process un_req_var and sometimes
not ?

thanks
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to