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
3c10c68c
Kaydet (Commit)
3c10c68c
authored
Eyl 28, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use consistent version annotations instead of something ad hoc.
üst
0f9bfd3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
libcfgparser.tex
Doc/lib/libcfgparser.tex
+7
-4
No files found.
Doc/lib/libcfgparser.tex
Dosyayı görüntüle @
3c10c68c
...
@@ -128,7 +128,8 @@ Returns a list of options available in the specified \var{section}.
...
@@ -128,7 +128,8 @@ Returns a list of options available in the specified \var{section}.
\begin{methoddesc}
{
has
_
option
}{
section, option
}
\begin{methoddesc}
{
has
_
option
}{
section, option
}
If the given section exists, and contains the given option. return 1;
If the given section exists, and contains the given option. return 1;
otherwise return 0. (New in 1.6)
otherwise return 0.
\versionadded
{
1.6
}
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
read
}{
filenames
}
\begin{methoddesc}
{
read
}{
filenames
}
...
@@ -169,20 +170,22 @@ for the option are \samp{0} and \samp{1}, any others will raise
...
@@ -169,20 +170,22 @@ for the option are \samp{0} and \samp{1}, any others will raise
\begin{methoddesc}
{
set
}{
section, option, value
}
\begin{methoddesc}
{
set
}{
section, option, value
}
If the given section exists, set the given option to the specified value;
If the given section exists, set the given option to the specified value;
otherwise raise
\exception
{
NoSectionError
}
. (New in 1.6)
otherwise raise
\exception
{
NoSectionError
}
.
\versionadded
{
1.6
}
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
write
}{
fileobject
}
\begin{methoddesc}
{
write
}{
fileobject
}
Write a representation of the configuration to the specified file
Write a representation of the configuration to the specified file
object. This representation can be parsed by a future
\method
{
read()
}
object. This representation can be parsed by a future
\method
{
read()
}
call. (New in 1.6)
call.
\versionadded
{
1.6
}
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
remove
_
option
}{
section, option
}
\begin{methoddesc}
{
remove
_
option
}{
section, option
}
Remove the specified
\var
{
option
}
from the specified
\var
{
section
}
.
Remove the specified
\var
{
option
}
from the specified
\var
{
section
}
.
If the section does not exist, raise
\exception
{
NoSectionError
}
.
If the section does not exist, raise
\exception
{
NoSectionError
}
.
If the option existed to be removed, return 1; otherwise return 0.
If the option existed to be removed, return 1; otherwise return 0.
(New in 1.6)
\versionadded
{
1.6
}
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
remove
_
section
}{
section
}
\begin{methoddesc}
{
remove
_
section
}{
section
}
...
...
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