[pypy-svn] r65186 - pypy/branch/js-refactoring/pypy/lang/js

jandem at codespeak.net jandem at codespeak.net
Sat May 9 19:01:22 CEST 2009


Author: jandem
Date: Sat May  9 19:01:21 2009
New Revision: 65186

Modified:
   pypy/branch/js-refactoring/pypy/lang/js/jsobj.py
Log:
typeof(null) is 'object'


Modified: pypy/branch/js-refactoring/pypy/lang/js/jsobj.py
==============================================================================
--- pypy/branch/js-refactoring/pypy/lang/js/jsobj.py	(original)
+++ pypy/branch/js-refactoring/pypy/lang/js/jsobj.py	Sat May  9 19:01:21 2009
@@ -105,7 +105,7 @@
         return "null"
 
     def type(self):
-        return 'null'
+        return 'object'
 
 w_Undefined = W_Undefined()
 w_Null = W_Null()



More information about the Pypy-commit mailing list