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
390e9dbd
Kaydet (Commit)
390e9dbd
authored
Tem 19, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make the new docstrings better conform to Guido's style guide.
üst
0368bc44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
sgmllib.py
Lib/sgmllib.py
+15
-7
No files found.
Lib/sgmllib.py
Dosyayı görüntüle @
390e9dbd
...
...
@@ -79,19 +79,27 @@ class SGMLParser:
self
.
literal
=
0
def
setnomoretags
(
self
):
"""Enter literal mode (CDATA) till EOF. Intended for derived
classes only."""
"""Enter literal mode (CDATA) till EOF.
Intended for derived classes only.
"""
self
.
nomoretags
=
self
.
literal
=
1
def
setliteral
(
self
,
*
args
):
"""Enter literal mode (CDATA). Intended for derived classes only."""
"""Enter literal mode (CDATA).
Intended for derived classes only.
"""
self
.
literal
=
1
def
feed
(
self
,
data
):
"""Feed some data to the parser. Call this as often as you
want, with as little or as much text as you want (may include
'
\n
'). (This just saves the text, all the processing is done
by goahead().)"""
"""Feed some data to the parser.
Call this as often as you want, with as little or as much text
as you want (may include '
\n
'). (This just saves the text,
all the processing is done by goahead().)
"""
self
.
rawdata
=
self
.
rawdata
+
data
self
.
goahead
(
0
)
...
...
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