attr: make some docstrings raw strings

Authored by indygreg.

Description

attr: make some docstrings raw strings

This avoids a SyntaxWarning in Python 3.8 due to invalid
\ escapes.

Differential Revision: https://phab.mercurial-scm.org/D5817

Details