Mercurial > public > mercurial-scm > hg
diff mercurial/wireproto.py @ 34726:daf12f69699f
python3: replace im_{self,func} with __{self,func}__ globally
These new names are portable back to Python 2.6.
Differential Revision: https://phab.mercurial-scm.org/D1091
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 14 Oct 2017 12:02:15 -0400 |
parents | 5e61cd5fb0fc |
children | 6f532c1a4af0 |
line wrap: on
line diff
--- a/mercurial/wireproto.py Sat Oct 14 12:00:35 2017 -0400 +++ b/mercurial/wireproto.py Sat Oct 14 12:02:15 2017 -0400 @@ -112,7 +112,7 @@ for command, args, opts, finalfuture in self.calls: mtd = getattr(self._remote, command) - batchable = mtd.batchable(mtd.im_self, *args, **opts) + batchable = mtd.batchable(mtd.__self__, *args, **opts) commandargs, fremote = next(batchable) assert fremote