Author: Simon Cross <[email protected]>
Branch: remove-string-smm
Changeset: r62630:632f4fdd4857
Date: 2013-03-22 02:19 +0200
http://bitbucket.org/pypy/pypy/changeset/632f4fdd4857/

Log:    Remove bogus w_self=W_Root in bytearraytype unwrap_specs.

diff --git a/pypy/objspace/std/bytearraytype.py 
b/pypy/objspace/std/bytearraytype.py
--- a/pypy/objspace/std/bytearraytype.py
+++ b/pypy/objspace/std/bytearraytype.py
@@ -23,7 +23,7 @@
 str_join = SMM('join', 2, defaults=(None,-1))
 
 
-@unwrap_spec(w_self=W_Root, index=int, val='str_or_int')
+@unwrap_spec(index=int, val='str_or_int')
 def bytearray_insert(w_self, space, index, val):
     """B.insert(index, int) -> None
 
@@ -38,7 +38,7 @@
     return space.w_None
 
 
-@unwrap_spec(w_self=W_Root, index=int)
+@unwrap_spec(index=int)
 def bytearray_pop(w_self, space, index=-1):
     """B.pop([index]) -> int
 
@@ -56,7 +56,7 @@
     return space.wrap(ord(result))
 
 
-@unwrap_spec(w_self=W_Root, value='index')
+@unwrap_spec(value='index')
 def bytearray_remove(w_self, space, value):
     """B.remove(int) -> None
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to