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
af574317
Kaydet (Commit)
af574317
authored
Eyl 25, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Include the version-detecting code to allow PyXML to override the "standard"
xml package. Require at least PyXML 0.6.1.
üst
ef5781b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
__init__.py
Lib/xml/__init__.py
+19
-2
No files found.
Lib/xml/__init__.py
Dosyayı görüntüle @
af574317
...
@@ -13,10 +13,27 @@ sax -- The Simple API for XML, developed by XML-Dev, led by David
...
@@ -13,10 +13,27 @@ sax -- The Simple API for XML, developed by XML-Dev, led by David
"""
"""
__all__
=
[
"dom"
,
"parsers"
,
"sax"
]
__version__
=
"$Revision$"
[
1
:
-
1
]
.
split
()[
1
]
_MINIMUM_XMLPLUS_VERSION
=
(
0
,
6
,
1
)
try
:
try
:
import
_xmlplus
import
_xmlplus
except
ImportError
:
except
ImportError
:
pass
pass
else
:
else
:
import
sys
try
:
sys
.
modules
[
__name__
]
=
_xmlplus
v
=
_xmlplus
.
version_info
except
AttributeError
:
# _xmlplue is too old; ignore it
pass
else
:
if
v
>=
_MINIMUM_XMLPLUS_VERSION
:
import
sys
sys
.
modules
[
__name__
]
=
_xmlplus
else
:
del
v
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