Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r44104:46a214e27708 Date: 2011-05-12 16:07 +0200 http://bitbucket.org/pypy/pypy/changeset/46a214e27708/
Log: Tweak the error and the message. diff --git a/pypy/module/_multibytecodec/app_multibytecodec.py b/pypy/module/_multibytecodec/app_multibytecodec.py --- a/pypy/module/_multibytecodec/app_multibytecodec.py +++ b/pypy/module/_multibytecodec/app_multibytecodec.py @@ -11,24 +11,24 @@ class MultibyteIncrementalEncoder(object): def __init__(self, *args, **kwds): - raise NotImplementedError( - "MultibyteIncrementalEncoder not supported; " + raise LookupError( + "MultibyteIncrementalEncoder not implemented; " "see pypy/module/_multibytecodec/app_multibytecodec.py") class MultibyteIncrementalDecoder(object): def __init__(self, *args, **kwds): - raise NotImplementedError( - "MultibyteIncrementalDecoder not supported; " + raise LookupError( + "MultibyteIncrementalDecoder not implemented; " "see pypy/module/_multibytecodec/app_multibytecodec.py") class MultibyteStreamReader(object): def __init__(self, *args, **kwds): - raise NotImplementedError( - "MultibyteStreamReader not supported; " + raise LookupError( + "MultibyteStreamReader not implemented; " "see pypy/module/_multibytecodec/app_multibytecodec.py") class MultibyteStreamWriter(object): def __init__(self, *args, **kwds): - raise NotImplementedError( - "MultibyteStreamWriter not supported; " + raise LookupError( + "MultibyteStreamWriter not implemented; " "see pypy/module/_multibytecodec/app_multibytecodec.py") _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit