pytholite: fix kwargs handling