Mercurial > hg
diff mercurial/demandimport.py @ 27537:ffb1ab1e4bba
demandimport: update obsolete comment
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 23 Dec 2015 16:22:20 -0800 |
parents | f7d890bc5e01 |
children | c25e3fd38ff1 f5b2b358b8b7 |
line wrap: on
line diff
--- a/mercurial/demandimport.py Wed Dec 23 16:22:20 2015 -0800 +++ b/mercurial/demandimport.py Wed Dec 23 16:22:20 2015 -0800 @@ -184,11 +184,9 @@ symbol._addref(globalname) if level >= 0: - # Mercurial's enforced import style does not use - # "from a import b,c,d" or "from .a import b,c,d" syntax. In - # addition, this appears to be giving errors with some modules - # for unknown reasons. Since we shouldn't be using this syntax - # much, work around the problems. + # The "from a import b,c,d" or "from .a import b,c,d" + # syntax gives errors with some modules for unknown + # reasons. Work around the problem. if name: return _hgextimport(_origimport, name, globals, locals, fromlist, level)