Message28653
Logged In: YES
user_id=11375
Martin, you probably need to make a pronouncement on this. The DOM
mapping is supposed to be derived from the IDL mapping for Python, which
predates Booleans, but methods such as hasChildNodes() return True/False.
I can see at least three answers:
1) Booleans are subtypes of integers, so the docs are not wrong.
2) The docs are wrong and should say Boolean.
3) The methods should be returning regular 0 and 1, not True and False, and
should be changed.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:40:15 | admin | link | issue1495229 messages |
2007-08-23 14:40:15 | admin | create | |
|