[Python-checkins] r54508 - sandbox/trunk/2to3/fixes/fix_ne.py sandbox/trunk/2to3/fixes/fix_numliterals.py

collin.winter python-checkins at python.org
Wed Mar 21 23:06:22 CET 2007


Author: collin.winter
Date: Wed Mar 21 23:06:20 2007
New Revision: 54508

Modified:
   sandbox/trunk/2to3/fixes/fix_ne.py
   sandbox/trunk/2to3/fixes/fix_numliterals.py
Log:
Comment cleanup.

Modified: sandbox/trunk/2to3/fixes/fix_ne.py
==============================================================================
--- sandbox/trunk/2to3/fixes/fix_ne.py	(original)
+++ sandbox/trunk/2to3/fixes/fix_ne.py	Wed Mar 21 23:06:20 2007
@@ -1,10 +1,7 @@
 # Copyright 2006 Google, Inc. All Rights Reserved.
 # Licensed to PSF under a Contributor Agreement.
 
-"""Fixer that turns <> into !=.
-
-This is so simple that we don't need the pattern compiler.
-"""
+"""Fixer that turns <> into !=."""
 
 # Local imports
 import pytree
@@ -13,6 +10,7 @@
 
 
 class FixNe(basefix.BaseFix):
+    # This is so simple that we don't need the pattern compiler.
 
     def match(self, node):
         # Override

Modified: sandbox/trunk/2to3/fixes/fix_numliterals.py
==============================================================================
--- sandbox/trunk/2to3/fixes/fix_numliterals.py	(original)
+++ sandbox/trunk/2to3/fixes/fix_numliterals.py	Wed Mar 21 23:06:20 2007
@@ -1,7 +1,5 @@
 """Fixer that turns 1L into 1, 0755 into 0o755,
 0XABC into 0xABC, 1E5 into 1e5, 1J into 1j.
-
-This is so simple that we don't need the pattern compiler.
 """
 # Copyright 2007 Georg Brandl.
 # Licensed to PSF under a Contributor Agreement.
@@ -14,6 +12,7 @@
 
 
 class FixNumliterals(basefix.BaseFix):
+    # This is so simple that we don't need the pattern compiler.
 
     def match(self, node):
         # Override


More information about the Python-checkins mailing list