diff mercurial/patch.py @ 43787: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 7eb701e355bd
children 727cf6acadfe
line wrap: on
line diff
--- a/mercurial/patch.py	Wed Nov 13 20:42:13 2019 +0100
+++ b/mercurial/patch.py	Sun Dec 01 18:46:10 2019 -0500
@@ -1570,7 +1570,7 @@
 
 
 class binhunk(object):
-    b'A binary patch file.'
+    """A binary patch file."""
 
     def __init__(self, lr, fname):
         self.text = None