equal
deleted
inserted
replaced
11 |
11 |
12 # XXX: Implementing a blacklist in 2to3 turned out to be more troublesome than |
12 # XXX: Implementing a blacklist in 2to3 turned out to be more troublesome than |
13 # blacklisting some modules inside the fixers. So, this is what I came with. |
13 # blacklisting some modules inside the fixers. So, this is what I came with. |
14 |
14 |
15 blacklist = ['mercurial/demandimport.py', |
15 blacklist = ['mercurial/demandimport.py', |
|
16 'mercurial/py3kcompat.py', # valid python 3 already |
16 'mercurial/i18n.py', |
17 'mercurial/i18n.py', |
17 ] |
18 ] |
18 |
19 |
19 def isdocstring(node): |
20 def isdocstring(node): |
20 def isclassorfunction(ancestor): |
21 def isclassorfunction(ancestor): |