[pypy-commit] pypy translation-cleanup: Kill unused method parse_obj()

rlamy noreply at buildbot.pypy.org
Thu Oct 18 20:21:46 CEST 2012


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: translation-cleanup
Changeset: r58230:86396cfc8f8a
Date: 2012-10-18 19:21 +0100
http://bitbucket.org/pypy/pypy/changeset/86396cfc8f8a/

Log:	Kill unused method parse_obj()

diff --git a/pypy/objspace/flow/argument.py b/pypy/objspace/flow/argument.py
--- a/pypy/objspace/flow/argument.py
+++ b/pypy/objspace/flow/argument.py
@@ -198,18 +198,6 @@
                               blindargs)
         return scope_w
 
-
-    def parse_obj(self, w_firstarg,
-                  fnname, signature, defaults_w=None, blindargs=0):
-        """Parse args and kwargs to initialize a frame
-        according to the signature of code object.
-        """
-        try:
-            return self._parse(w_firstarg, signature, defaults_w, blindargs)
-        except ArgErr, e:
-            raise operationerrfmt(self.space.w_TypeError,
-                                  "%s() %s", fnname, e.getmsg())
-
     @staticmethod
     def frompacked(space, w_args=None, w_kwds=None):
         """Convenience static method to build an Arguments


More information about the pypy-commit mailing list