Author: Vincent Legoll <vincent.leg...@idgrilles.fr>
Branch: fix-2211
Changeset: r81395:b64515209948
Date: 2015-12-19 14:28 +0100
http://bitbucket.org/pypy/pypy/changeset/b64515209948/

Log:    Remove useless canraise

diff --git a/rpython/flowspace/operation.py b/rpython/flowspace/operation.py
--- a/rpython/flowspace/operation.py
+++ b/rpython/flowspace/operation.py
@@ -510,7 +510,6 @@
 
 class NewSlice(HLOperation):
     opname = 'newslice'
-    canraise = [AnnotatorError]
 
     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