Author: Manuel Jacob Branch: refactor-str-types Changeset: r65625:8418bdebeade Date: 2013-07-24 21:07 +0200 http://bitbucket.org/pypy/pypy/changeset/8418bdebeade/
Log: Remove all "raise NotImplementedError"-methods in StringMethods. diff --git a/pypy/objspace/std/stringmethods.py b/pypy/objspace/std/stringmethods.py --- a/pypy/objspace/std/stringmethods.py +++ b/pypy/objspace/std/stringmethods.py @@ -12,18 +12,6 @@ class StringMethods(object): _mixin_ = True - def _new(self, value): - raise NotImplementedError - - def _len(self): - raise NotImplementedError - - def _val(self, space): - raise NotImplementedError - - def _op_val(self, space, w_other): - raise NotImplementedError - def _sliced(self, space, s, start, stop, orig_obj): assert start >= 0 assert stop >= 0 @@ -411,12 +399,6 @@ sb.append(self._op_val(space, list_w[i])) return self._new(sb.build()) - def _join_return_one(self, space, w_obj): - raise NotImplementedError - - def _join_check_item(self, space, w_obj): - raise NotImplementedError - def _join_autoconvert(self, space, list_w): assert False, 'unreachable' _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit