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
7bf5e082
Kaydet (Commit)
7bf5e082
authored
Mar 16, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use {classdesc} consistently.
üst
c9808b3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
24 deletions
+14
-24
libformatter.tex
Doc/lib/libformatter.tex
+7
-12
libformatter.tex
Doc/libformatter.tex
+7
-12
No files found.
Doc/lib/libformatter.tex
Dosyayı görüntüle @
7bf5e082
...
...
@@ -2,7 +2,6 @@
\label
{
module-formatter
}
\stmodindex
{
formatter
}
\setindexsubitem
{
(in module formatter)
}
This module supports two interface definitions, each with mulitple
implementations. The
\emph
{
formatter
}
interface is used by the
...
...
@@ -188,8 +187,6 @@ Two implementations of formatter objects are provided by this module.
Most applications may use one of these classes without modification or
subclassing.
\setindexsubitem
{
(in module formatter)
}
\begin{classdesc}
{
NullFormatter
}{
\optional
{
writer
}}
A formatter which does nothing. If
\var
{
writer
}
is omitted, a
\class
{
NullWriter
}
instance is created. No methods of the writer are
...
...
@@ -216,7 +213,7 @@ Note that while most applications can use the
\class
{
AbstractFormatter
}
class as a formatter, the writer must
typically be provided by the application.
\setindexsubitem
{
(writer
object
method)
}
\setindexsubitem
{
(writer method)
}
\begin{funcdesc}
{
flush
}{}
Flush any buffered output or device control events.
...
...
@@ -308,24 +305,22 @@ Three implementations of the writer object interface are provided as
examples by this module. Most applications will need to derive new
writer classes from the
\class
{
NullWriter
}
class.
\setindexsubitem
{
(in module formatter)
}
\begin{funcdesc}
{
NullWriter
}{}
\begin{classdesc}
{
NullWriter
}{}
A writer which only provides the interface definition; no actions are
taken on any methods. This should be the base class for all writers
which do not need to inherit any implementation methods.
\end{
func
desc}
\end{
class
desc}
\begin{
func
desc}
{
AbstractWriter
}{}
\begin{
class
desc}
{
AbstractWriter
}{}
A writer which can be used in debugging formatters, but not much
else. Each method simply announces itself by printing its name and
arguments on standard output.
\end{
func
desc}
\end{
class
desc}
\begin{
func
desc}
{
DumbWriter
}{
\optional
{
file
\optional
{
\,
maxcol
\code
{
= 72
}}}}
\begin{
class
desc}
{
DumbWriter
}{
\optional
{
file
\optional
{
\,
maxcol
\code
{
= 72
}}}}
Simple writer class which writes output on the file object passed in
as
\var
{
file
}
or, if
\var
{
file
}
is omitted, on standard output. The
output is simply word-wrapped to the number of columns specified by
\var
{
maxcol
}
. This class is suitable for reflowing a sequence of
paragraphs.
\end{
func
desc}
\end{
class
desc}
Doc/libformatter.tex
Dosyayı görüntüle @
7bf5e082
...
...
@@ -2,7 +2,6 @@
\label
{
module-formatter
}
\stmodindex
{
formatter
}
\setindexsubitem
{
(in module formatter)
}
This module supports two interface definitions, each with mulitple
implementations. The
\emph
{
formatter
}
interface is used by the
...
...
@@ -188,8 +187,6 @@ Two implementations of formatter objects are provided by this module.
Most applications may use one of these classes without modification or
subclassing.
\setindexsubitem
{
(in module formatter)
}
\begin{classdesc}
{
NullFormatter
}{
\optional
{
writer
}}
A formatter which does nothing. If
\var
{
writer
}
is omitted, a
\class
{
NullWriter
}
instance is created. No methods of the writer are
...
...
@@ -216,7 +213,7 @@ Note that while most applications can use the
\class
{
AbstractFormatter
}
class as a formatter, the writer must
typically be provided by the application.
\setindexsubitem
{
(writer
object
method)
}
\setindexsubitem
{
(writer method)
}
\begin{funcdesc}
{
flush
}{}
Flush any buffered output or device control events.
...
...
@@ -308,24 +305,22 @@ Three implementations of the writer object interface are provided as
examples by this module. Most applications will need to derive new
writer classes from the
\class
{
NullWriter
}
class.
\setindexsubitem
{
(in module formatter)
}
\begin{funcdesc}
{
NullWriter
}{}
\begin{classdesc}
{
NullWriter
}{}
A writer which only provides the interface definition; no actions are
taken on any methods. This should be the base class for all writers
which do not need to inherit any implementation methods.
\end{
func
desc}
\end{
class
desc}
\begin{
func
desc}
{
AbstractWriter
}{}
\begin{
class
desc}
{
AbstractWriter
}{}
A writer which can be used in debugging formatters, but not much
else. Each method simply announces itself by printing its name and
arguments on standard output.
\end{
func
desc}
\end{
class
desc}
\begin{
func
desc}
{
DumbWriter
}{
\optional
{
file
\optional
{
\,
maxcol
\code
{
= 72
}}}}
\begin{
class
desc}
{
DumbWriter
}{
\optional
{
file
\optional
{
\,
maxcol
\code
{
= 72
}}}}
Simple writer class which writes output on the file object passed in
as
\var
{
file
}
or, if
\var
{
file
}
is omitted, on standard output. The
output is simply word-wrapped to the number of columns specified by
\var
{
maxcol
}
. This class is suitable for reflowing a sequence of
paragraphs.
\end{
func
desc}
\end{
class
desc}
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