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
46aa5c5b
Kaydet (Commit)
46aa5c5b
authored
Tem 29, 2010
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#3874: document HTMLParser.unknown_decl().
üst
6d23c44e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
html.parser.rst
Doc/library/html.parser.rst
+12
-4
No files found.
Doc/library/html.parser.rst
Dosyayı görüntüle @
46aa5c5b
...
@@ -134,10 +134,18 @@ An exception is defined as well:
...
@@ -134,10 +134,18 @@ An exception is defined as well:
.. method:: HTMLParser.handle_decl(decl)
.. method:: HTMLParser.handle_decl(decl)
Method called when an SGML declaration is read by the parser. The *decl*
Method called when an SGML ``doctype`` declaration is read by the parser.
parameter will be the entire contents of the declaration inside the ``
<
!``...\
The *decl* parameter will be the entire contents of the declaration inside
``
>
`` markup. It is intended to be overridden by a derived class; the base
the ``
<
!...
>
`` markup. It is intended to be overridden by a derived class;
class implementation does nothing.
the base class implementation does nothing.
.. method:: HTMLParser.unknown_decl(data)
Method called when an unrecognized SGML declaration is read by the parser.
The *data* parameter will be the entire contents of the declaration inside
the ``
<
!...
>
`` markup. It is sometimes useful to be be overridden by a
derived class; the base class implementation throws an :exc:`HTMLParseError`.
.. method:: HTMLParser.handle_pi(data)
.. method:: HTMLParser.handle_pi(data)
...
...
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