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
51375ae0
Kaydet (Commit)
51375ae0
authored
Mar 12, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use {classdesc} instead of {funcdesc} for HTMLParser.
Clean up index reference to SGMLParser class.
üst
6d4d1c2a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
libhtmllib.tex
Doc/lib/libhtmllib.tex
+4
-5
libhtmllib.tex
Doc/libhtmllib.tex
+4
-5
No files found.
Doc/lib/libhtmllib.tex
Dosyayı görüntüle @
51375ae0
...
...
@@ -4,7 +4,6 @@
\index
{
HTML
}
\index
{
hypertext
}
\setindexsubitem
{
(in module htmllib)
}
This module defines a class which can serve as a base for parsing text
files formatted in the HyperText Mark-up Language (HTML). The class
...
...
@@ -22,7 +21,7 @@ the \module{formatter}\refstmodindex{formatter} module; refer to the
documentation for that module for information on the formatter
interface.
\index
{
SGML
}
\
ttindex
{
SGMLParser
}
\
withsubitem
{
(in module sgmllib)
}{
\ttindex
{
SGMLParser
}
}
\index
{
formatter
}
The following is a summary of the interface defined by
...
...
@@ -44,7 +43,7 @@ For example, to parse the entire contents of a file, use:
parser.feed(open('myfile.html').read())
parser.close()
\end{verbatim}
%
\item
The interface to define semantics for HTML tags is very simple: derive
a class and define methods called
\code
{
start
_
\var
{
tag
}
()
}
,
...
...
@@ -62,11 +61,11 @@ should define the \code{do_\var{tag}()} method.
The module defines a single class:
\begin{
func
desc}
{
HTMLParser
}{
formatter
}
\begin{
class
desc}
{
HTMLParser
}{
formatter
}
This is the basic HTML parser class. It supports all entity names
required by the HTML 2.0 specification (
\rfc
{
1866
}
). It also defines
handlers for all HTML 2.0 and many HTML 3.0 and 3.2 elements.
\end{
func
desc}
\end{
class
desc}
In addition to tag methods, the
\class
{
HTMLParser
}
class provides some
additional methods and instance variables for use within tag methods.
...
...
Doc/libhtmllib.tex
Dosyayı görüntüle @
51375ae0
...
...
@@ -4,7 +4,6 @@
\index
{
HTML
}
\index
{
hypertext
}
\setindexsubitem
{
(in module htmllib)
}
This module defines a class which can serve as a base for parsing text
files formatted in the HyperText Mark-up Language (HTML). The class
...
...
@@ -22,7 +21,7 @@ the \module{formatter}\refstmodindex{formatter} module; refer to the
documentation for that module for information on the formatter
interface.
\index
{
SGML
}
\
ttindex
{
SGMLParser
}
\
withsubitem
{
(in module sgmllib)
}{
\ttindex
{
SGMLParser
}
}
\index
{
formatter
}
The following is a summary of the interface defined by
...
...
@@ -44,7 +43,7 @@ For example, to parse the entire contents of a file, use:
parser.feed(open('myfile.html').read())
parser.close()
\end{verbatim}
%
\item
The interface to define semantics for HTML tags is very simple: derive
a class and define methods called
\code
{
start
_
\var
{
tag
}
()
}
,
...
...
@@ -62,11 +61,11 @@ should define the \code{do_\var{tag}()} method.
The module defines a single class:
\begin{
func
desc}
{
HTMLParser
}{
formatter
}
\begin{
class
desc}
{
HTMLParser
}{
formatter
}
This is the basic HTML parser class. It supports all entity names
required by the HTML 2.0 specification (
\rfc
{
1866
}
). It also defines
handlers for all HTML 2.0 and many HTML 3.0 and 3.2 elements.
\end{
func
desc}
\end{
class
desc}
In addition to tag methods, the
\class
{
HTMLParser
}
class provides some
additional methods and instance variables for use within tag methods.
...
...
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