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
9f2376de
Kaydet (Commit)
9f2376de
authored
May 11, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document the new classdesc* environment, and the previously undocumented
excclassdesc environment.
üst
06a01e84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
doc.tex
Doc/doc/doc.tex
+18
-1
No files found.
Doc/doc/doc.tex
Dosyayı görüntüle @
9f2376de
...
@@ -519,9 +519,19 @@ This \UNIX\ is also followed by a space.
...
@@ -519,9 +519,19 @@ This \UNIX\ is also followed by a space.
Like
\env
{
datadesc
}
, but without creating any index entries.
Like
\env
{
datadesc
}
, but without creating any index entries.
\end{envdesc}
\end{envdesc}
\begin{envdesc}
{
excclassdesc
}{
\p
{
name
}
\p
{
constructor parameters
}}
Descibe an exception defined by a class.
\var
{
constructor
parameters
}
should not include the
\var
{
self
}
parameter or
the parentheses used in the call syntax. To describe an
exception class without describing the parameters to its
constructor, use the
\env
{
excdesc
}
environment.
\end{envdesc}
\begin{envdesc}
{
excdesc
}{
\p
{
name
}}
\begin{envdesc}
{
excdesc
}{
\p
{
name
}}
Describe an exception. This may be either a string exception or
Describe an exception. This may be either a string exception or
a class exception.
a class exception. In the case of class exceptions, the
constructor parameters are not described; use
\env
{
excclassdesc
}
to describe an exception class and its constructor.
\end{envdesc}
\end{envdesc}
\begin{envdesc}
{
funcdesc
}{
\p
{
name
}
\p
{
parameters
}}
\begin{envdesc}
{
funcdesc
}{
\p
{
name
}
\p
{
parameters
}}
...
@@ -547,6 +557,13 @@ This \UNIX\ is also followed by a space.
...
@@ -547,6 +557,13 @@ This \UNIX\ is also followed by a space.
the parentheses used in the call syntax.
the parentheses used in the call syntax.
\end{envdesc}
\end{envdesc}
\begin{envdesc}
{
classdesc*
}{
\p
{
name
}}
Describe a class without describing the constructor. This can
be used to describe classes that are merely containers for
attributes or which should never be instantiated or subclassed
by user code.
\end{envdesc}
\begin{envdesc}
{
memberdesc
}{
\op
{
type name
}
\p
{
name
}}
\begin{envdesc}
{
memberdesc
}{
\op
{
type name
}
\p
{
name
}}
Describe an object data attribute. The description should
Describe an object data attribute. The description should
include information about the type of the data to be expected
include information about the type of the data to be expected
...
...
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