diff mercurial/bookmarks.py @ 41533:0f64091cc851

global: make some docstrings raw strings Python 3.8 emits a SyntaxWarning when a str/bytes contains invalid \ escapes. Various docstrings in our code base contain invalid \ escapes. This commit turns those docstrings into raw strings. Differential Revision: https://phab.mercurial-scm.org/D5816
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 04 Feb 2019 09:07:00 -0800
parents 876494fd967d
children ec5bd3ab26bf
line wrap: on
line diff
--- a/mercurial/bookmarks.py	Mon Feb 04 08:54:30 2019 -0800
+++ b/mercurial/bookmarks.py	Mon Feb 04 09:07:00 2019 -0800
@@ -44,7 +44,7 @@
     return fp
 
 class bmstore(object):
-    """Storage for bookmarks.
+    r"""Storage for bookmarks.
 
     This object should do all bookmark-related reads and writes, so
     that it's fairly simple to replace the storage underlying