[pypy-svn] r16253 - pypy/dist/pypy/annotation

nik at codespeak.net nik at codespeak.net
Tue Aug 23 12:41:33 CEST 2005


Author: nik
Date: Tue Aug 23 12:41:31 2005
New Revision: 16253

Modified:
   pypy/dist/pypy/annotation/bookkeeper.py
Log:
fixed typo in exception message


Modified: pypy/dist/pypy/annotation/bookkeeper.py
==============================================================================
--- pypy/dist/pypy/annotation/bookkeeper.py	(original)
+++ pypy/dist/pypy/annotation/bookkeeper.py	Tue Aug 23 12:41:31 2005
@@ -637,7 +637,7 @@
                 try:
                     args.fixedunpack(0)
                 except ValueError:
-                    raise Exception, "no __init__ found in %r" % (cls,)
+                    raise Exception, "no __init__ found in %r" % (classdef.cls,)
             return s_instance
 
         assert isinstance(func, FunctionType), "[%s] expected user-defined function, got %r" % (self.whereami(), func)



More information about the Pypy-commit mailing list