Do not break if 'default' kwarg is a callable.

Signed-off-by: Chris Lamb <chris@playfire.com>