Patchwork D9432: formatting: drop a few extra double quotes in docstrings

login
register
mail settings
Submitter phabricator
Date Nov. 28, 2020, 4:49 a.m.
Message ID <differential-rev-PHID-DREV-p5q4q66dkoukqfvczeo6-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47713/
State Superseded
Headers show

Comments

phabricator - Nov. 28, 2020, 4:49 a.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  These were made obvious by the reformatting in D9430 <https://phab.mercurial-scm.org/D9430>.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9432

AFFECTED FILES
  hgext/fix.py
  mercurial/interfaces/repository.py
  mercurial/match.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/match.py b/mercurial/match.py
--- a/mercurial/match.py
+++ b/mercurial/match.py
@@ -107,7 +107,7 @@ 
 
 
 def _kindpatsalwaysmatch(kindpats):
-    """ "Checks whether the kindspats match everything, as e.g.
+    """Checks whether the kindspats match everything, as e.g.
     'relpath:.' does.
     """
     for kind, pat, source in kindpats:
diff --git a/mercurial/interfaces/repository.py b/mercurial/interfaces/repository.py
--- a/mercurial/interfaces/repository.py
+++ b/mercurial/interfaces/repository.py
@@ -617,7 +617,7 @@ 
         """
 
     def revision(node, raw=False):
-        """ "Obtain fulltext data for a node.
+        """Obtain fulltext data for a node.
 
         By default, any storage transformations are applied before the data
         is returned. If ``raw`` is True, non-raw storage transformations
diff --git a/hgext/fix.py b/hgext/fix.py
--- a/hgext/fix.py
+++ b/hgext/fix.py
@@ -372,7 +372,7 @@ 
 
 
 def getworkqueue(ui, repo, pats, opts, revstofix, basectxs):
-    """ "Constructs the list of files to be fixed at specific revisions
+    """Constructs the list of files to be fixed at specific revisions
 
     It is up to the caller how to consume the work items, and the only
     dependence between them is that replacement revisions must be committed in