13.6.3.1 Mappatura di Type

I tipi IDL primitivi usati nella specifica DOM sono mappate in Python in conformità alla seguente tavola:

Tipo IDL  Tipo Python 
boolean IntegerType (con valore 0 o 1)
int IntegerType
long int IntegerType
unsigned int IntegerType

Inoltre, il DOMString definito nelle raccomandazioni viene mappato alla stringa Python o alla stringa Unicode. Le applicazioni devono essere in grado di gestire Unicode laddove viene restituita una stringa dal DOM.

Il valore IDL null viene mappato a None, che può essere accettato o fornito dall'implementazione laddove null è permesso dalle API.

Vedete Circa questo documento... per informazioni su modifiche e suggerimenti.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy