Author: Vincent Legoll <vincent.leg...@idgrilles.fr>
Branch: fix-2211
Changeset: r81392:59c849746214
Date: 2015-12-16 19:11 +0100
http://bitbucket.org/pypy/pypy/changeset/59c849746214/

Log:    Use NewSlice.consider() instead get_specialization() for extended
        slicing Exception message

diff --git a/rpython/flowspace/operation.py b/rpython/flowspace/operation.py
--- a/rpython/flowspace/operation.py
+++ b/rpython/flowspace/operation.py
@@ -512,7 +512,7 @@
     opname = 'newslice'
     canraise = [AnnotatorError]
 
-    def get_specialization(self, s_arg1, s_arg2, s_arg3):
+    def consider(self, annotator):
         raise AnnotatorError("Cannot use extended slicing in rpython")
 
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to