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
70d044ba
Kaydet (Commit)
70d044ba
authored
Nis 06, 2006
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove more cruft no longer needed
üst
9ea179fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
minidom.py
Lib/xmlcore/dom/minidom.py
+2
-4
No files found.
Lib/xmlcore/dom/minidom.py
Dosyayı görüntüle @
70d044ba
...
...
@@ -20,8 +20,6 @@ from xmlcore.dom import EMPTY_NAMESPACE, EMPTY_PREFIX, XMLNS_NAMESPACE, domreg
from
xmlcore.dom.minicompat
import
*
from
xmlcore.dom.xmlbuilder
import
DOMImplementationLS
,
DocumentLS
_TupleType
=
type
(())
# This is used by the ID-cache invalidation checks; the list isn't
# actually complete, since the nodes being checked will never be the
# DOCUMENT_NODE or DOCUMENT_FRAGMENT_NODE. (The node being checked is
...
...
@@ -523,7 +521,7 @@ class NamedNodeMap(object):
return
cmp
(
id
(
self
),
id
(
other
))
def
__getitem__
(
self
,
attname_or_tuple
):
if
isinstance
(
attname_or_tuple
,
_TupleTyp
e
):
if
isinstance
(
attname_or_tuple
,
tupl
e
):
return
self
.
_attrsNS
[
attname_or_tuple
]
else
:
return
self
.
_attrs
[
attname_or_tuple
]
...
...
@@ -1170,7 +1168,7 @@ class ReadOnlySequentialNamedNodeMap(object):
return
n
def
__getitem__
(
self
,
name_or_tuple
):
if
isinstance
(
name_or_tuple
,
_TupleTyp
e
):
if
isinstance
(
name_or_tuple
,
tupl
e
):
node
=
self
.
getNamedItemNS
(
*
name_or_tuple
)
else
:
node
=
self
.
getNamedItem
(
name_or_tuple
)
...
...
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