[pypy-svn] pypy default: kill trailing whitespace

gutworth commits-noreply at bitbucket.org
Tue Mar 1 05:03:42 CET 2011


Author: Benjamin Peterson <benjamin at python.org>
Branch: 
Changeset: r42362:bd2a7d3e7fe8
Date: 2011-02-28 21:56 -0600
http://bitbucket.org/pypy/pypy/changeset/bd2a7d3e7fe8/

Log:	kill trailing whitespace

diff --git a/pypy/interpreter/pyparser/future.py b/pypy/interpreter/pyparser/future.py
--- a/pypy/interpreter/pyparser/future.py
+++ b/pypy/interpreter/pyparser/future.py
@@ -26,7 +26,7 @@
 
 from pypy.interpreter.astcompiler.consts import CO_GENERATOR_ALLOWED, \
     CO_FUTURE_DIVISION, CO_FUTURE_WITH_STATEMENT, CO_FUTURE_ABSOLUTE_IMPORT
-            
+
 def get_futures(future_flags, source):
     futures = FutureAutomaton(future_flags, source)
     try:
@@ -34,7 +34,7 @@
     except DoneException, e:
         pass
     return futures.flags, (futures.lineno, futures.col_offset)
-    
+
 class DoneException(Exception):
     pass
 
@@ -226,7 +226,7 @@
         if self.getc() not in whitespace + '\\':
             raise DoneException
         self.consume_whitespace()
-        
+
     def consume_whitespace(self):
         while 1:
             c = self.getc()
@@ -272,7 +272,6 @@
         if paren_list and self.getc() == ')':
             self.pos += 1
             return
-        
         if (self.getc() == 'a' and
             self.getc(+1) == 's' and
             self.getc(+2) in whitespace):


More information about the Pypy-commit mailing list