python kwargs

self.val2 = kwargs.get('val2',"default value")
Silly Shrew