[pypy-commit] pypy default: cleanup

bdkearns noreply at buildbot.pypy.org
Thu Sep 11 00:39:13 CEST 2014


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r73423:b5d8f4d2a81e
Date: 2014-09-10 18:25 -0400
http://bitbucket.org/pypy/pypy/changeset/b5d8f4d2a81e/

Log:	cleanup

diff --git a/pypy/module/sys/state.py b/pypy/module/sys/state.py
--- a/pypy/module/sys/state.py
+++ b/pypy/module/sys/state.py
@@ -7,15 +7,15 @@
 # ____________________________________________________________
 #
 
-class State: 
-    def __init__(self, space): 
-        self.space = space 
+class State:
+    def __init__(self, space):
+        self.space = space
 
         self.w_modules = space.newdict(module=True)
-
         self.w_warnoptions = space.newlist([])
         self.w_argv = space.newlist([])
-        self.setinitialpath(space) 
+
+        self.setinitialpath(space)
 
     def setinitialpath(self, space):
         from pypy.module.sys.initpath import compute_stdlib_path
@@ -25,10 +25,10 @@
         path = compute_stdlib_path(self, srcdir)
         self.w_path = space.newlist([space.wrap(p) for p in path])
 
-
 def get(space):
     return space.fromcache(State)
 
+
 class IOState:
     def __init__(self, space):
         from pypy.module._file.interp_file import W_File
@@ -54,9 +54,9 @@
 def getio(space):
     return space.fromcache(IOState)
 
+
 def pypy_getudir(space):
     """NOT_RPYTHON
     (should be removed from interpleveldefs before translation)"""
     from rpython.tool.udir import udir
     return space.wrap(str(udir))
-


More information about the pypy-commit mailing list