[pypy-svn] r14281 - pypy/dist/pypy/annotation
pedronis at codespeak.net
pedronis at codespeak.net
Tue Jul 5 14:38:35 CEST 2005
Author: pedronis
Date: Tue Jul 5 14:38:35 2005
New Revision: 14281
Modified:
pypy/dist/pypy/annotation/bookkeeper.py
Log:
improved error message
Modified: pypy/dist/pypy/annotation/bookkeeper.py
==============================================================================
--- pypy/dist/pypy/annotation/bookkeeper.py (original)
+++ pypy/dist/pypy/annotation/bookkeeper.py Tue Jul 5 14:38:35 2005
@@ -627,7 +627,7 @@
raise Exception, "no __init__ found in %r" % (cls,)
return s_instance
- assert isinstance(func, FunctionType), "[%s] expected function, got %r" % (self.whereami(), func)
+ assert isinstance(func, FunctionType), "[%s] expected user-defined function, got %r" % (self.whereami(), func)
inputcells = self.get_inputcells(func, args)
More information about the Pypy-commit
mailing list