Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
43786:421ea5772039 | 43787:be8552f25cab |
---|---|
1568 newstart -= 1 | 1568 newstart -= 1 |
1569 return old, oldstart, new, newstart | 1569 return old, oldstart, new, newstart |
1570 | 1570 |
1571 | 1571 |
1572 class binhunk(object): | 1572 class binhunk(object): |
1573 b'A binary patch file.' | 1573 """A binary patch file.""" |
1574 | 1574 |
1575 def __init__(self, lr, fname): | 1575 def __init__(self, lr, fname): |
1576 self.text = None | 1576 self.text = None |
1577 self.delta = False | 1577 self.delta = False |
1578 self.hunk = [b'GIT binary patch\n'] | 1578 self.hunk = [b'GIT binary patch\n'] |