Author: Philip Jenvey <[email protected]>
Branch: 
Changeset: r84165:6fa84e77d63b
Date: 2016-05-02 19:57 -0700
http://bitbucket.org/pypy/pypy/changeset/6fa84e77d63b/

Log:    sync w/ py3k

diff --git a/pypy/module/__builtin__/compiling.py 
b/pypy/module/__builtin__/compiling.py
--- a/pypy/module/__builtin__/compiling.py
+++ b/pypy/module/__builtin__/compiling.py
@@ -35,7 +35,7 @@
 
     if mode not in ('exec', 'eval', 'single'):
         raise oefmt(space.w_ValueError,
-                    "compile() arg 3 must be 'exec' or 'eval' or 'single'")
+                    "compile() arg 3 must be 'exec', 'eval' or 'single'")
 
     if space.isinstance_w(w_source, space.gettypeobject(ast.W_AST.typedef)):
         ast_node = ast.mod.from_object(space, w_source)
diff --git a/pypy/module/posix/interp_posix.py 
b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -32,7 +32,7 @@
         pass
 else:
     def check_uid_range(space, num):
-        if num < -(1<<31) or num >= (1<<32):
+        if num < -(1 << 31) or num >= (1 << 32):
             raise oefmt(space.w_OverflowError, "integer out of range")
 
 def fsencode_w(space, w_obj):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to