[pypy-svn] r17412 - pypy/dist/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Fri Sep 9 17:28:10 CEST 2005


Author: arigo
Date: Fri Sep  9 17:28:08 2005
New Revision: 17412

Modified:
   pypy/dist/pypy/rpython/objectmodel.py
Log:
A bet that __setattribute__() is a typo.


Modified: pypy/dist/pypy/rpython/objectmodel.py
==============================================================================
--- pypy/dist/pypy/rpython/objectmodel.py	(original)
+++ pypy/dist/pypy/rpython/objectmodel.py	Fri Sep  9 17:28:08 2005
@@ -21,7 +21,7 @@
 class FREED_OBJECT(object):
     def __getattribute__(self, attr):
         raise RuntimeError("trying to access freed object")
-    def __setattribute__(self, attr, value):
+    def __setattr__(self, attr, value):
         raise RuntimeError("trying to access freed object")
 
 



More information about the Pypy-commit mailing list