[pypy-svn] r50112 - pypy/branch/ghop-ropes-classes/pypy/rlib
cfbolz at codespeak.net
cfbolz at codespeak.net
Tue Dec 25 21:10:37 CET 2007
Author: cfbolz
Date: Tue Dec 25 21:10:35 2007
New Revision: 50112
Modified:
pypy/branch/ghop-ropes-classes/pypy/rlib/ropewrapper.py
Log:
show the bug more clearly
Modified: pypy/branch/ghop-ropes-classes/pypy/rlib/ropewrapper.py
==============================================================================
--- pypy/branch/ghop-ropes-classes/pypy/rlib/ropewrapper.py (original)
+++ pypy/branch/ghop-ropes-classes/pypy/rlib/ropewrapper.py Tue Dec 25 21:10:35 2007
@@ -35,6 +35,7 @@
self._node = rope.LiteralStringNode(s)
if isinstance(s, rope.LiteralStringNode):
self._node = s
+ raise NotImplemtedError("don't know about %s" % (s, ))
def __getitem__(self, index):
return self._node.getchar(index)
More information about the Pypy-commit
mailing list