Update deprecate_kwarg message
Merge pull request #7945 from jorisvandenbossche/depr_message

Update deprecate_kwarg message