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
5b0705d2
Kaydet (Commit)
5b0705d2
authored
Şub 19, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ConfigParser.optionxform(): Document this since it is available for
sub-classes and application code to override.
üst
ffd93282
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
libcfgparser.tex
Doc/lib/libcfgparser.tex
+10
-0
No files found.
Doc/lib/libcfgparser.tex
Dosyayı görüntüle @
5b0705d2
...
...
@@ -97,6 +97,7 @@ allowed recursion depth.
for application configuration files.
}
\end{seealso}
\subsection
{
ConfigParser Objects
\label
{
ConfigParser-objects
}}
\class
{
ConfigParser
}
instances have the following methods:
...
...
@@ -189,3 +190,12 @@ Remove the specified \var{section} from the configuration.
If the section in fact existed, return 1. Otherwise return 0.
\end{methoddesc}
\begin{methoddesc}
{
optionxform
}{
option
}
Transforms the option name
\var
{
option
}
as found in an input file or
as passed in by client code to the form that should be used in the
internal structures. The default implementation returns a lower-case
version of
\var
{
option
}
; subclasses may override this or client code
can set an attribute of this name on instances to affect this
behavior. Setting this to
\function
{
str()
}
, for example, would make
option names case sensitive.
\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