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
c90584ec
Kaydet (Commit)
c90584ec
authored
Ara 29, 2007
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use strings for all entity values, as that is now possible
with a Unicode string type.
üst
18a499d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
htmlentitydefs.py
Lib/htmlentitydefs.py
+1
-4
No files found.
Lib/htmlentitydefs.py
Dosyayı görüntüle @
c90584ec
...
@@ -265,9 +265,6 @@ entitydefs = {}
...
@@ -265,9 +265,6 @@ entitydefs = {}
for
(
name
,
codepoint
)
in
name2codepoint
.
items
():
for
(
name
,
codepoint
)
in
name2codepoint
.
items
():
codepoint2name
[
codepoint
]
=
name
codepoint2name
[
codepoint
]
=
name
if
codepoint
<=
0xff
:
entitydefs
[
name
]
=
chr
(
codepoint
)
entitydefs
[
name
]
=
chr
(
codepoint
)
else
:
entitydefs
[
name
]
=
'&#
%
d;'
%
codepoint
del
name
,
codepoint
del
name
,
codepoint
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