From patchwork Tue Feb 5 14:25:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D5817: attr: make some docstrings raw strings From: phabricator X-Patchwork-Id: 38428 Message-Id: <88d73718b1ae9ec50f71ed31f7b74f1e@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Tue, 5 Feb 2019 14:25:20 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGa5493a251ad3: attr: make some docstrings raw strings (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5817?vs=13744&id=13805 REVISION DETAIL https://phab.mercurial-scm.org/D5817 AFFECTED FILES mercurial/thirdparty/attr/_make.py mercurial/thirdparty/attr/filters.py CHANGE DETAILS To: indygreg, #hg-reviewers Cc: durin42, mercurial-devel diff --git a/mercurial/thirdparty/attr/filters.py b/mercurial/thirdparty/attr/filters.py --- a/mercurial/thirdparty/attr/filters.py +++ b/mercurial/thirdparty/attr/filters.py @@ -19,7 +19,7 @@ def include(*what): - """ + r""" Whitelist *what*. :param what: What to whitelist. @@ -36,7 +36,7 @@ def exclude(*what): - """ + r""" Blacklist *what*. :param what: What to blacklist. diff --git a/mercurial/thirdparty/attr/_make.py b/mercurial/thirdparty/attr/_make.py --- a/mercurial/thirdparty/attr/_make.py +++ b/mercurial/thirdparty/attr/_make.py @@ -56,7 +56,7 @@ def attr(default=NOTHING, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata={}): - """ + r""" Create a new attribute on a class. .. warning::