summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/fixes/fix_tuple_params.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-02-01 01:18:51 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-02-01 01:18:51 (GMT)
commitb1f7b7bef58a2e60eeb61180b400e13f487e139f (patch)
treeb8ef825a7acc189dc5fa9a5d64e614693520fbf7 /Lib/lib2to3/fixes/fix_tuple_params.py
parentb3d77007f4e682c77c0c11439fc9d333a23d7f8b (diff)
downloadcpython-b1f7b7bef58a2e60eeb61180b400e13f487e139f.zip
cpython-b1f7b7bef58a2e60eeb61180b400e13f487e139f.tar.gz
cpython-b1f7b7bef58a2e60eeb61180b400e13f487e139f.tar.bz2
Merged revisions 77898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ................ r77898 | martin.v.loewis | 2010-02-01 02:15:39 +0100 (Mo, 01 Feb 2010) | 17 lines 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_tuple_params.py')
-rw-r--r--Lib/lib2to3/fixes/fix_tuple_params.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/fixes/fix_tuple_params.py b/Lib/lib2to3/fixes/fix_tuple_params.py
index fb47d01..2085935 100644
--- a/Lib/lib2to3/fixes/fix_tuple_params.py
+++ b/Lib/lib2to3/fixes/fix_tuple_params.py
@@ -81,7 +81,7 @@ class FixTupleParams(fixer_base.BaseFix):
handle_tuple(arg, add_prefix=(i > 0))
if not new_lines:
- return node
+ return
# This isn't strictly necessary, but it plays nicely with other fixers.
# TODO(cwinter) get rid of this when children becomes a smart list