summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/fixes/fix_xrange.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-02-01 01:15:39 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-02-01 01:15:39 (GMT)
commit1595f9fe9bd4e7f26635931a90c37cd37f5beee7 (patch)
tree3151fc87b312513dd268b1c0bc8192b937d62785 /Lib/lib2to3/fixes/fix_xrange.py
parentb4b0a2935db54457f6876f1991905cc9b4fce6e9 (diff)
downloadcpython-1595f9fe9bd4e7f26635931a90c37cd37f5beee7.zip
cpython-1595f9fe9bd4e7f26635931a90c37cd37f5beee7.tar.gz
cpython-1595f9fe9bd4e7f26635931a90c37cd37f5beee7.tar.bz2
Merged revisions 77855-77856,77870 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r77855 | benjamin.peterson | 2010-01-30 17:32:05 +0100 (Sa, 30 Jan 2010) | 1 line don't return node if it is not changed ........ r77856 | benjamin.peterson | 2010-01-30 17:35:29 +0100 (Sa, 30 Jan 2010) | 1 line return None to indicate no change ........ r77870 | benjamin.peterson | 2010-01-31 02:21:26 +0100 (So, 31 Jan 2010) | 1 line never return the original node given to transform() ........
Diffstat (limited to 'Lib/lib2to3/fixes/fix_xrange.py')
-rw-r--r--Lib/lib2to3/fixes/fix_xrange.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/lib2to3/fixes/fix_xrange.py b/Lib/lib2to3/fixes/fix_xrange.py
index ad910a7..70c6747 100644
--- a/Lib/lib2to3/fixes/fix_xrange.py
+++ b/Lib/lib2to3/fixes/fix_xrange.py
@@ -40,7 +40,6 @@ class FixXrange(fixer_base.BaseFix):
for n in results["rest"]:
list_call.append_child(n)
return list_call
- return node
P1 = "power< func=NAME trailer< '(' node=any ')' > any* >"
p1 = patcomp.compile_pattern(P1)