Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/cmdutil.py @ 43087:66f2cc210a29
py3: manually import pycompat.setattr where it is needed
Continuing to eliminate the implicit import of symbols in the
Python 3 source transformer so we can eliminate it.
Differential Revision: https://phab.mercurial-scm.org/D7007
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 06 Oct 2019 14:58:42 -0400 |
parents | eef9a2d67051 |
children | c59eb1560c44 |
comparison
equal
deleted
inserted
replaced
43086:bbcbb82e3589 | 43087:66f2cc210a29 |
---|---|
17 hex, | 17 hex, |
18 nullid, | 18 nullid, |
19 nullrev, | 19 nullrev, |
20 short, | 20 short, |
21 ) | 21 ) |
22 from .pycompat import open | 22 from .pycompat import ( |
23 open, | |
24 setattr, | |
25 ) | |
23 | 26 |
24 from . import ( | 27 from . import ( |
25 bookmarks, | 28 bookmarks, |
26 changelog, | 29 changelog, |
27 copies, | 30 copies, |