Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
4d4d1ce7
Kaydet (Commit)
4d4d1ce7
authored
Tem 25, 2010
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#1495229: update the type names used by the XML DOM mapping
üst
07de165d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
14 deletions
+9
-14
xml.dom.rst
Doc/library/xml.dom.rst
+9
-14
No files found.
Doc/library/xml.dom.rst
Dosyayı görüntüle @
4d4d1ce7
...
...
@@ -976,29 +976,24 @@ Python.
Type
Mapping
^^^^^^^^^^^^
The
primitive
IDL
types
used
in
the
DOM
specification
are
mapped
to
Python
types
The
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
``)
|
|
``
boolean
``
|
``
bool
``
or
``
int
``
|
+------------------+-------------------------------------------+
|
``
int
``
|
``
IntegerType
``
|
|
``
int
``
|
``
int
``
|
+------------------+-------------------------------------------+
|
``
long
int
``
|
``
IntegerType
``
|
|
``
long
int
``
|
``
int
``
|
+------------------+-------------------------------------------+
|
``
unsigned
int
``
|
``
IntegerType
``
|
|
``
unsigned
int
``
|
``
int
``
|
+------------------+-------------------------------------------+
|
``
DOMString
``
|
``
str
``
or
``
bytes
``
|
+------------------+-------------------------------------------+
|
``
null
``
|
``
None
``
|
+------------------+-------------------------------------------+
Additionally
,
the
:
class
:`
DOMString
`
defined
in
the
recommendation
is
mapped
to
a
bytes
or
string
object
.
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
.
..
_dom
-
accessor
-
methods
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment