[pypy-svn] r36251 - in pypy/dist/pypy/translator/js/modules: . test

guido at codespeak.net guido at codespeak.net
Mon Jan 8 12:40:17 CET 2007


Author: guido
Date: Mon Jan  8 12:40:15 2007
New Revision: 36251

Modified:
   pypy/dist/pypy/translator/js/modules/dom.py
   pypy/dist/pypy/translator/js/modules/test/test_dom.py
Log:
Removed stale import, small docstring addition.


Modified: pypy/dist/pypy/translator/js/modules/dom.py
==============================================================================
--- pypy/dist/pypy/translator/js/modules/dom.py	(original)
+++ pypy/dist/pypy/translator/js/modules/dom.py	Mon Jan  8 12:40:15 2007
@@ -3,6 +3,9 @@
 
     this provides a mock browser API, both the standard DOM level 2 stuff as
     the browser-specific additions
+    
+    in addition this provides the necessary descriptions that allow rpython
+    code that calls the browser DOM API to be translated
 
     note that the API is not and will not be complete: more exotic features 
     will most probably not behave as expected, or are not implemented at all

Modified: pypy/dist/pypy/translator/js/modules/test/test_dom.py
==============================================================================
--- pypy/dist/pypy/translator/js/modules/test/test_dom.py	(original)
+++ pypy/dist/pypy/translator/js/modules/test/test_dom.py	Mon Jan  8 12:40:15 2007
@@ -1,7 +1,6 @@
 import py
 from pypy.translator.js.modules import dom
 from pypy.translator.js.main import rpython2javascript
-from pypy.rpython.ootypesystem.bltregistry import BasicExternal, described
 from xml.dom.minidom import parseString
 import sys
 



More information about the Pypy-commit mailing list