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
fb857893
Kaydet (Commit)
fb857893
authored
Agu 14, 2003
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF patch #787929: reflect the introduce of boolean type(libcfgparser.tex)
(Contributed by George Yoshida.)
üst
b4f49385
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libcfgparser.tex
Doc/lib/libcfgparser.tex
+4
-4
No files found.
Doc/lib/libcfgparser.tex
Dosyayı görüntüle @
fb857893
...
@@ -217,10 +217,10 @@ A convenience method which coerces the \var{option} in the specified
...
@@ -217,10 +217,10 @@ A convenience method which coerces the \var{option} in the specified
\begin{methoddesc}
{
getboolean
}{
section, option
}
\begin{methoddesc}
{
getboolean
}{
section, option
}
A convenience method which coerces the
\var
{
option
}
in the specified
A convenience method which coerces the
\var
{
option
}
in the specified
\var
{
section
}
to a Boolean value. Note that the accepted values
\var
{
section
}
to a Boolean value. Note that the accepted values
for the option are
\code
{
1
}
,
\code
{
yes
}
,
\code
{
true
}
, and
\code
{
on
}
,
for the option are
\code
{
"1"
}
,
\code
{
"yes"
}
,
\code
{
"true"
}
, and
\code
{
"on"
}
,
which cause this method to return
true, and
\code
{
0
}
,
\code
{
no
}
,
which cause this method to return
\code
{
True
}
, and
\code
{
"0"
}
,
\code
{
"no"
}
,
\code
{
false
}
, and
\code
{
off
}
, which cause it to return false
. These
\code
{
"false"
}
, and
\code
{
"off"
}
, which cause it to return
\code
{
False
}
. These
values are checked in a case-insensitive manner. Any other value will
string
values are checked in a case-insensitive manner. Any other value will
cause it to raise
\exception
{
ValueError
}
.
cause it to raise
\exception
{
ValueError
}
.
\end{methoddesc}
\end{methoddesc}
...
...
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