SyntaxFix
Write A Post
Hire A Developer
Questions
For cases where you also wish to have the option of setting 'b' to None:
def p(self, **kwargs): b = kwargs.get('b', self.a) print b