This is an archive of the discontinued Mercurial Phabricator instance.

attr: make some docstrings raw strings
ClosedPublic

Authored by indygreg on Feb 4 2019, 12:18 PM.

Details

Summary

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

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Feb 4 2019, 12:18 PM
durin42 added a subscriber: durin42.Feb 4 2019, 6:25 PM

This is vendored code. Can you send it upstream?

This is already fixed at https://github.com/python-attrs/attrs/pull/375. We'll presumably get it on next vendor.

This revision was automatically updated to reflect the committed changes.