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
81e4aa70
Kaydet (Commit)
81e4aa70
authored
Ara 30, 2002
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- re-mark ESR's warning about extended registry syntax
- document InterpolationSyntaxError
üst
ce1d944b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
libcfgparser.tex
Doc/lib/libcfgparser.tex
+11
-3
No files found.
Doc/lib/libcfgparser.tex
Dosyayı görüntüle @
81e4aa70
...
@@ -13,11 +13,14 @@ This module defines the class \class{ConfigParser}.
...
@@ -13,11 +13,14 @@ This module defines the class \class{ConfigParser}.
\index
{
Windows ini file
}
\index
{
Windows ini file
}
The
\class
{
ConfigParser
}
class implements a basic configuration file
The
\class
{
ConfigParser
}
class implements a basic configuration file
parser language which provides a structure similar to what you would
parser language which provides a structure similar to what you would
find on Microsoft Windows INI files. (Beware: this library does
\emph
{
not
}
find on Microsoft Windows INI files. You can use this to write Python
interpret or write the value-type prefixes used in the Windows
Registry extended version of INI syntax.) You can use this to write Python
programs which can be customized by end users easily.
programs which can be customized by end users easily.
\begin{notice}
[warning]
This library does
\emph
{
not
}
interpret or write the value-type
prefixes used in the Windows Registry extended version of INI syntax.
\end{notice}
The configuration file consists of sections, led by a
The configuration file consists of sections, led by a
\samp
{
[section]
}
header and followed by
\samp
{
name: value
}
entries,
\samp
{
[section]
}
header and followed by
\samp
{
name: value
}
entries,
with continuations in the style of
\rfc
{
822
}
;
\samp
{
name=value
}
is
with continuations in the style of
\rfc
{
822
}
;
\samp
{
name=value
}
is
...
@@ -95,6 +98,11 @@ Exception raised when string interpolation cannot be completed because
...
@@ -95,6 +98,11 @@ Exception raised when string interpolation cannot be completed because
the number of iterations exceeds
\constant
{
MAX
_
INTERPOLATION
_
DEPTH
}
.
the number of iterations exceeds
\constant
{
MAX
_
INTERPOLATION
_
DEPTH
}
.
\end{excdesc}
\end{excdesc}
\begin{excdesc}
{
InterpolationSyntaxError
}
Exception raised when the source text into which substitutions are
made does not conform to the required syntax.
\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.
...
...
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