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
07f353c5
Kaydet (Commit)
07f353c5
authored
May 22, 2001
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed incorrect comment left over from sgmllib.py.
üst
fe9110b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
HTMLParser.py
Lib/HTMLParser.py
+7
-7
No files found.
Lib/HTMLParser.py
Dosyayı görüntüle @
07f353c5
...
@@ -75,14 +75,14 @@ class HTMLParseError(Exception):
...
@@ -75,14 +75,14 @@ class HTMLParseError(Exception):
# HTML parser class -- find tags and call handler functions.
# HTML parser class -- find tags and call handler functions.
# Usage: p = HTMLParser(); p.feed(data); ...; p.close().
# Usage: p = HTMLParser(); p.feed(data); ...; p.close().
# The dtd is defined by deriving a class which defines methods
# with special names to handle tags: start_foo and end_foo to handle
# Start tags are handled by calling self.handle_starttag() or
# <foo> and </foo>, respectively, or do_foo to handle <foo> by itself.
# self.handle_startendtag(); end tags by self.handle_endtag(). The
# (Tags are converted to lower case for this purpose.) The data
# data between tags is passed to the parser by calling
# between tags is passed to the parser by calling self.handle_data()
# self.handle_data() with some data as argument (the data may be split
# with some data as argument (the data may be split up in arbitrary
# up in arbitrary chunks). Entity references are passed by calling
# chunks). Entity references are passed by calling
# self.handle_entityref() with the entity reference as argument.
# self.handle_entityref() with the entity reference as argument.
# Etc.
class
HTMLParser
:
class
HTMLParser
:
...
...
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