[pypy-svn] r76842 - pypy/trunk/pypy/objspace/std
arigo at codespeak.net
arigo at codespeak.net
Thu Sep 2 19:43:43 CEST 2010
Author: arigo
Date: Thu Sep 2 19:43:33 2010
New Revision: 76842
Modified:
pypy/trunk/pypy/objspace/std/objspace.py
Log:
(cfbolz, arigo) Essential move of an empty line.
Modified: pypy/trunk/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/objspace.py (original)
+++ pypy/trunk/pypy/objspace/std/objspace.py Thu Sep 2 19:43:33 2010
@@ -405,8 +405,8 @@
def getattr(self, w_obj, w_name):
if not self.config.objspace.std.getattributeshortcut:
return DescrOperation.getattr(self, w_obj, w_name)
-
# an optional shortcut for performance
+
w_type = self.type(w_obj)
w_descr = w_type.getattribute_if_not_from_object()
if w_descr is not None:
More information about the Pypy-commit
mailing list