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
89d63cc4
Kaydet (Commit)
89d63cc4
authored
Kas 30, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor adjustments to markup for the getDOMImplementation() description.
üst
bd34b6bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
xmldom.tex
Doc/lib/xmldom.tex
+13
-10
No files found.
Doc/lib/xmldom.tex
Dosyayı görüntüle @
89d63cc4
...
@@ -98,18 +98,21 @@ for the specific implementation (e.g. if that implementation supports
...
@@ -98,18 +98,21 @@ for the specific implementation (e.g. if that implementation supports
some customization).
some customization).
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
getDOMImplementation
}{
name = None, features = ()
}
\begin{funcdesc}
{
getDOMImplementation
}{
\optional
{
name
\optional
{
, features
}}
}
Return a suitable DOM implementation. The
\var
{
name
}
is either
Return a suitable DOM implementation. The
\var
{
name
}
is either
well-known, the module name of a DOM implementation, or
well-known, the module name of a DOM implementation, or
\code
{
None
}
. If it is not
\code
{
None
}
, imports the corresponding module and
\code
{
None
}
. If it is not
\code
{
None
}
, imports the corresponding
returns a
\class
{
DOMImplementation
}
object if the import succeeds. If
module and returns a
\class
{
DOMImplementation
}
object if the import
no name is given, and if the environment variable
\envvar
{
PYTHON
_
DOM
}
is
succeeds. If no name is given, and if the environment variable
set, this variable is used to find the implementation.
\envvar
{
PYTHON
_
DOM
}
is set, this variable is used to find the
implementation.
If name is not given, consider the available implementations to find
one with the required feature set. If no implementation can be found,
If name is not given, this examines the available implementations to
raise an
\exception
{
ImportError
}
. The features list must be a sequence of
find one with the required feature set. If no implementation can be
(feature, version) pairs which are passed to hasFeature.
found, raise an
\exception
{
ImportError
}
. The features list must be a
sequence of
\code
{
(
\var
{
feature
}
,
\var
{
version
}
)
}
pairs which are
passed to the
\method
{
hasFeature()
}
method on available
\class
{
DOMImplementation
}
objects.
\end{funcdesc}
\end{funcdesc}
...
...
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