Website hosting service by Active-Venture.com
  

 Back to Index


13.6.3.1 Type Mapping

The primitive IDL types used in the DOM specification are mapped to Python types according to the following table.

 
IDL Type  Python Type 
boolean IntegerType (with a value of 0 or 1)
int IntegerType
long int IntegerType
unsigned int IntegerType

Additionally, the DOMString defined in the recommendation is mapped to a Python string or Unicode string. Applications should be able to handle Unicode whenever a string is returned from the DOM.

The IDL null value is mapped to None, which may be accepted or provided by the implementation whenever null is allowed by the API.

  

 

© 2002-2004 Active-Venture.com Webhosting Service

 

Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to http://python.org/doc/

 

Cheap domain name registration - Register domain name and domain transfer from $5.95/year only

 
Cheap domain name - Cheap domain name registration service including free domain hosting services