[pypy-commit] pypy default: move import to top...

justinpeel noreply at buildbot.pypy.org
Tue Feb 28 05:09:39 CET 2012


Author: Justin Peel <notmuchtotell at gmail.com>
Branch: 
Changeset: r52951:079551524b28
Date: 2012-02-27 21:09 -0700
http://bitbucket.org/pypy/pypy/changeset/079551524b28/

Log:	move import to top...

diff --git a/pypy/interpreter/pyparser/parsestring.py b/pypy/interpreter/pyparser/parsestring.py
--- a/pypy/interpreter/pyparser/parsestring.py
+++ b/pypy/interpreter/pyparser/parsestring.py
@@ -1,5 +1,6 @@
 from pypy.interpreter.error import OperationError
 from pypy.interpreter import unicodehelper
+from pypy.rlib.rstring import StringBuilder
 
 def parsestr(space, encoding, s, unicode_literals=False):
     # compiler.transformer.Transformer.decode_literal depends on what 
@@ -109,8 +110,6 @@
         result = "0" + result
     return result
 
-from pypy.rlib.rstring import StringBuilder
-
 def PyString_DecodeEscape(space, s, recode_encoding):
     """
     Unescape a backslash-escaped string. If recode_encoding is non-zero,


More information about the pypy-commit mailing list