[pypy-svn] rev 868 - pypy/trunk/src/pypy/objspace/std
hpk at codespeak.net
hpk at codespeak.net
Sat Jun 21 18:06:12 CEST 2003
Author: hpk
Date: Sat Jun 21 18:06:12 2003
New Revision: 868
Modified:
pypy/trunk/src/pypy/objspace/std/noneobject.py
Log:
added some docstrings (+ status info)
Modified: pypy/trunk/src/pypy/objspace/std/noneobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/noneobject.py (original)
+++ pypy/trunk/src/pypy/objspace/std/noneobject.py Sat Jun 21 18:06:12 2003
@@ -1,14 +1,16 @@
+"""
+ None Object implementation
+
+ ok and tested
+"""
+
from pypy.objspace.std.objspace import *
from nonetype import W_NoneType
-
class W_NoneObject(W_Object):
statictype = W_NoneType
-
-
registerimplementation(W_NoneObject)
-
def unwrap__None(space, w_none):
return None
@@ -18,6 +20,5 @@
def repr__None(space, w_none):
return space.wrap('None')
-
register_all(vars())
More information about the Pypy-commit
mailing list