[pypy-svn] r50244 - pypy/dist/pypy/translator/js/modules
fijal at codespeak.net
fijal at codespeak.net
Tue Jan 1 19:14:29 CET 2008
Author: fijal
Date: Tue Jan 1 19:14:28 2008
New Revision: 50244
Modified:
pypy/dist/pypy/translator/js/modules/dom.py
Log:
(Justus Winter) fix signatures
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 Tue Jan 1 19:14:28 2008
@@ -401,10 +401,10 @@
'cloneNode' : MethodDesc([int], Element),
'getElementsByTagName' : MethodDesc([str], [Element]),
'hasChildNodes' : MethodDesc([], bool),
- 'insertBefore' : MethodDesc([Element], Element),
+ 'insertBefore' : MethodDesc([Element, Element], Element),
'normalize' : MethodDesc([]),
'removeChild' : MethodDesc([Element]),
- 'replaceChild' : MethodDesc([Element], Element),
+ 'replaceChild' : MethodDesc([Element, Element], Element),
})
Element._fields = Node._fields.copy()
More information about the Pypy-commit
mailing list