[pypy-svn] r8610 - pypy/dist/pypy/interpreter

mwh at codespeak.net mwh at codespeak.net
Wed Jan 26 15:36:20 CET 2005


Author: mwh
Date: Wed Jan 26 15:36:20 2005
New Revision: 8610

Modified:
   pypy/dist/pypy/interpreter/argument.py
Log:
The annotator is no longer dumb!


Modified: pypy/dist/pypy/interpreter/argument.py
==============================================================================
--- pypy/dist/pypy/interpreter/argument.py	(original)
+++ pypy/dist/pypy/interpreter/argument.py	Wed Jan 26 15:36:20 2005
@@ -121,9 +121,6 @@
         try:
             return self.match_signature(signature, defaults_w)
         except ArgErr, e:
-            # XXX this hack is necessary because the annotator is
-            # dumb! -- mwh 2005-01-25
-            assert isinstance(e, ArgErr)
             raise OperationError(space.w_TypeError,
                                  space.wrap(e.getmsg(self, fnname)))
 



More information about the Pypy-commit mailing list