[pypy-svn] rev 851 - pypy/trunk/src/pypy/objspace/std

hpk at codespeak.net hpk at codespeak.net
Sat Jun 21 16:21:40 CEST 2003


Author: hpk
Date: Sat Jun 21 16:21:39 2003
New Revision: 851

Modified:
   pypy/trunk/src/pypy/objspace/std/moduleobject.py
Log:
added some code review information at top-docstring



Modified: pypy/trunk/src/pypy/objspace/std/moduleobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/moduleobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/moduleobject.py	Sat Jun 21 16:21:39 2003
@@ -1,3 +1,12 @@
+"""
+state of W_ModuleObject
+
+- old style registration
+
+getattr ok,tested
+setattr ok,tested
+delattr ok,tested
+"""
 from pypy.objspace.std.objspace import *
 from moduletype import W_ModuleType
 from dictobject import W_DictObject
@@ -14,10 +23,8 @@
                  (w_key_doc,  space.w_None)]
         w_self.w_dict = W_DictObject(w_self.space, items)
 
-
 registerimplementation(W_ModuleObject)
 
-
 def getattr_module_any(space, w_module, w_attr):
     if space.is_true(space.eq(w_attr, space.wrap('__dict__'))):
         return w_module.w_dict


More information about the Pypy-commit mailing list