Author: Justin Peel <notmuchtot...@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,
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to