2007/6/22, varun_shrivastava <[EMAIL PROTECTED]>:
whats the difference between positional and keyword parameter
This is a python general question, it has nothing to do with pygtk itself, anyway: def func(arg1, arg2, arg3=something, arg4=someotherthings): pass arg1 and arg2 are positional args while arg3 and arg4 are keyword args. you could write the same as def func(*args, **kwargs) If you mean the difference in parsing the arguments with python C API, the concept is the same, refer to http://docs.python.org/api/arg-parsing.html for a good explanation. cheers -- Gian Mario Tagliaretti _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
