2015年9月1日 星期二

*args and **kwargs?

So far I have learned that:
  • *args = list of arguments -as positional arguments
  • **kwargs = dictionary - whose keys become separate keyword arguments and the values become values of these arguments.

reference : http://stackoverflow.com/questions/3394835/args-and-kwargs

沒有留言:

張貼留言