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
33dde92e
Kaydet (Commit)
33dde92e
authored
Eyl 27, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update the documentation for ConfigParser to match the recent changes.
üst
8ef6767e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
libcfgparser.tex
Doc/lib/libcfgparser.tex
+13
-2
No files found.
Doc/lib/libcfgparser.tex
Dosyayı görüntüle @
33dde92e
...
@@ -47,8 +47,8 @@ Return a new instance of the \class{ConfigParser} class. When
...
@@ -47,8 +47,8 @@ Return a new instance of the \class{ConfigParser} class. When
\var
{
defaults
}
is given, it is initialized into the dictionary of
\var
{
defaults
}
is given, it is initialized into the dictionary of
intrinsic defaults. They keys must be strings, and the values must be
intrinsic defaults. They keys must be strings, and the values must be
appropriate for the
\samp
{
\%
()s
}
string interpolation. Note that
appropriate for the
\samp
{
\%
()s
}
string interpolation. Note that
\var
{__
name
__}
is a
lways an intrinsic default; its value is the
\var
{__
name
__}
is a
n intrinsic default; its value is the section name,
section name
.
and will override any value provided in
\var
{
defaults
}
.
\end{classdesc}
\end{classdesc}
\begin{excdesc}
{
NoSectionError
}
\begin{excdesc}
{
NoSectionError
}
...
@@ -70,6 +70,11 @@ section.
...
@@ -70,6 +70,11 @@ section.
Exception raised when problems occur performing string interpolation.
Exception raised when problems occur performing string interpolation.
\end{excdesc}
\end{excdesc}
\begin{excdesc}
{
InterpolationDepthError
}
Exception raised when string interpolation cannot be completed because
the number of iterations exceeds
\constant
{
MAX
_
INTERPOLATION
_
DEPTH
}
.
\end{excdesc}
\begin{excdesc}
{
MissingSectionHeaderError
}
\begin{excdesc}
{
MissingSectionHeaderError
}
Exception raised when attempting to parse a file which has no section
Exception raised when attempting to parse a file which has no section
headers.
headers.
...
@@ -79,6 +84,12 @@ headers.
...
@@ -79,6 +84,12 @@ headers.
Exception raised when errors occur attempting to parse a file.
Exception raised when errors occur attempting to parse a file.
\end{excdesc}
\end{excdesc}
\begin{datadesc}
{
MAX
_
INTERPOLATION
_
DEPTH
}
The maximum depth for recursive interpolation for
\method
{
get()
}
when
the
\var
{
raw
}
parameter is false. Setting this does not change the
allowed recursion depth.
\end{datadesc}
\begin{seealso}
\begin{seealso}
\seemodule
{
shlex
}{
Support for a creating
\UNIX
{}
shell-like
\seemodule
{
shlex
}{
Support for a creating
\UNIX
{}
shell-like
...
...
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