What is the use of __kwdefaults__ which is a function object attribute?
Asked 2013-07-08T18:53:35.740
22
Function object has attributes __defaults__ and __kwdefaults__. I see that if a function has some default arguments then they are put as a tuple to __defaults__ but __kwdefaults__ is None. When is used attribute __kwdefaults__?