demandimport: update obsolete comment
authorBryan O'Sullivan <bos@serpentine.com>
Wed, 23 Dec 2015 16:22:20 -0800
changeset 27537 ffb1ab1e4bba
parent 27536 f7d890bc5e01
child 27538 50ad3f25fb4c
demandimport: update obsolete comment
mercurial/demandimport.py
--- 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)