Re: [pygtk] positional and keyword parameters
varun_shrivastava <[EMAIL PROTECTED]> writes: > hi > > whats the difference between positional and keyword parameter Hello! You can find more info at http://docs.python.org/tut/node6.html#SECTION00670 HTH. Regards, Jan -- Take heed: you do not find what you do not seek. -- English Proverb ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] positional and keyword parameters
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 pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
[pygtk] positional and keyword parameters
hi whats the difference between positional and keyword parameter bye -- View this message in context: http://www.nabble.com/positional-and-keyword-parameters-tf3963509.html#a11248497 Sent from the Gtk+ - Python mailing list archive at Nabble.com. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/