diff mercurial/interfaces/dirstate.py @ 43807:be8552f25cab

cleanup: fix docstring formatting This is just removing the b'' prefix (except demandimportpy2), and making sure it is triple quoted. I skipped the mapping.py module in zope because that's 3rd party code. Differential Revision: https://phab.mercurial-scm.org/D7539
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 01 Dec 2019 18:46:10 -0500
parents 687b865b95ad
children 89a2afe31e82
line wrap: on
line diff
--- a/mercurial/interfaces/dirstate.py	Wed Nov 13 20:42:13 2019 +0100
+++ b/mercurial/interfaces/dirstate.py	Sun Dec 01 18:46:10 2019 -0500
@@ -24,7 +24,7 @@
         """Return a list of files containing patterns to ignore."""
 
     def _ignorefileandline(f):
-        b"Given a file `f`, return the ignore file and line that ignores it."
+        """Given a file `f`, return the ignore file and line that ignores it."""
 
     _checklink = interfaceutil.Attribute("""Callable for checking symlinks.""")
     _checkexec = interfaceutil.Attribute("""Callable for checking exec bits.""")