[Python-checkins] r56265 - sandbox/trunk/2to3/fixes/fix_next.py

collin.winter python-checkins at python.org
Wed Jul 11 15:00:58 CEST 2007


Author: collin.winter
Date: Wed Jul 11 15:00:58 2007
New Revision: 56265

Modified:
   sandbox/trunk/2to3/fixes/fix_next.py
Log:
Whitespace cleanup in fix_next.

Modified: sandbox/trunk/2to3/fixes/fix_next.py
==============================================================================
--- sandbox/trunk/2to3/fixes/fix_next.py	(original)
+++ sandbox/trunk/2to3/fixes/fix_next.py	Wed Jul 11 15:00:58 2007
@@ -107,7 +107,7 @@
             if n:
                 self.warning(n, bind_warning)
                 self.shadowed_next = True
-                
+
     def finish_tree(self, tree, filename):
         super(FixNext, self).finish_tree(tree, filename)
         if self.shadowed_next:
@@ -119,17 +119,17 @@
 ###  target.
 
 def is_assign_target(node):
-    assign = find_assign(node)    
+    assign = find_assign(node)
     if assign is None:
         return False
-            
+
     for child in assign.children:
         if child.type == token.EQUAL:
             return False
         elif is_subtree(child, node):
             return True
     return False
-    
+
 def find_assign(node):
     if node.type == syms.expr_stmt:
         return node


More information about the Python-checkins mailing list