[pypy-svn] r8828 - pypy/dist/pypy/lib

tismer at codespeak.net tismer at codespeak.net
Thu Feb 3 16:02:19 CET 2005


Author: tismer
Date: Thu Feb  3 16:02:19 2005
New Revision: 8828

Modified:
   pypy/dist/pypy/lib/_classobj.py
Log:
fixed a typo. Found it with flow space, which is great for that!

Modified: pypy/dist/pypy/lib/_classobj.py
==============================================================================
--- pypy/dist/pypy/lib/_classobj.py	(original)
+++ pypy/dist/pypy/lib/_classobj.py	Thu Feb  3 16:02:19 2005
@@ -236,7 +236,7 @@
             # for now, we need to copy things, because we are using
             # the __dict__for our class as well. This will vanish!
             value['__class__'] = self.__class__
-            obj_setattr(inst, '__dict__', value)
+            obj_setattr(self, '__dict__', value)
         elif name == '__class__':
             if not isinstance(value, classobj):
                 raise TypeError("__class__ must be set to a class")



More information about the Pypy-commit mailing list