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
b8c20a72
Kaydet (Commit)
b8c20a72
authored
Agu 14, 2002
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More updates describing FutureWarnings.
üst
2f238c1b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
doc.tex
Doc/doc/doc.tex
+3
-0
libexcs.tex
Doc/lib/libexcs.tex
+7
-1
libwarnings.tex
Doc/lib/libwarnings.tex
+3
-0
No files found.
Doc/doc/doc.tex
Dosyayı görüntüle @
b8c20a72
...
@@ -1306,6 +1306,9 @@ This \UNIX\ is also followed by a space.
...
@@ -1306,6 +1306,9 @@ This \UNIX\ is also followed by a space.
features.
}
features.
}
\lineii
{
RuntimeWarning
}
\lineii
{
RuntimeWarning
}
{
Base category for warnings about dubious runtime features.
}
{
Base category for warnings about dubious runtime features.
}
\lineii
{
FutureWarning
}
{
Base category for warnings about constructs that will change
semantically in the future.
}
\end{tableii}
\end{tableii}
\end{verbatim}
\end{verbatim}
...
...
Doc/lib/libexcs.tex
Dosyayı görüntüle @
b8c20a72
...
@@ -362,7 +362,7 @@ Raised when an \keyword{assert} statement fails.
...
@@ -362,7 +362,7 @@ Raised when an \keyword{assert} statement fails.
\setindexsubitem
{
(built-in warning)
}
\setindexsubitem
{
(built-in warning)
}
The following exceptions are used as warning categories; see the
The following exceptions are used as warning categories; see the
\module
{
warnings
}
module for more information.
\
ref
module
{
warnings
}
module for more information.
\begin{excdesc}
{
Warning
}
\begin{excdesc}
{
Warning
}
Base class for warning categories.
Base class for warning categories.
...
@@ -388,6 +388,11 @@ Base class for warnings about dubious syntax
...
@@ -388,6 +388,11 @@ Base class for warnings about dubious syntax
Base class for warnings about dubious runtime behavior.
Base class for warnings about dubious runtime behavior.
\end{excdesc}
\end{excdesc}
\begin{excdesc}
{
FutureWarning
}
Base class for warnings about constructs that will change semantically
in the future.
\end{excdesc}
The class hierarchy for built-in exceptions is:
The class hierarchy for built-in exceptions is:
\begin{verbatim}
\begin{verbatim}
...
@@ -431,4 +436,5 @@ The class hierarchy for built-in exceptions is:
...
@@ -431,4 +436,5 @@ The class hierarchy for built-in exceptions is:
+-- SyntaxWarning
+-- SyntaxWarning
+-- OverflowWarning
+-- OverflowWarning
+-- RuntimeWarning
+-- RuntimeWarning
+-- FutureWarning
\end{verbatim}
\end{verbatim}
Doc/lib/libwarnings.tex
Dosyayı görüntüle @
b8c20a72
...
@@ -68,6 +68,9 @@ syntactic features.}
...
@@ -68,6 +68,9 @@ syntactic features.}
\lineii
{
RuntimeWarning
}{
Base category for warnings about dubious
\lineii
{
RuntimeWarning
}{
Base category for warnings about dubious
runtime features.
}
runtime features.
}
\lineii
{
FutureWarning
}{
Base category for warnings about constructs
that will change semantically in the future.
}
\end{tableii}
\end{tableii}
While these are technically built-in exceptions, they are documented
While these are technically built-in exceptions, they are documented
...
...
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