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
184e8360
Kaydet (Commit)
184e8360
authored
May 11, 1999
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added module references; minor grammatical fixes.
All suggested by Eric Raymond.
üst
9ade7e01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
libcfgparser.tex
Doc/lib/libcfgparser.tex
+7
-1
libftplib.tex
Doc/lib/libftplib.tex
+4
-0
libshlex.tex
Doc/lib/libshlex.tex
+9
-3
No files found.
Doc/lib/libcfgparser.tex
Dosyayı görüntüle @
184e8360
...
...
@@ -39,7 +39,7 @@ Return a new instance of the \class{ConfigParser} class. When
\var
{
defaults
}
is given, it is initialized into the dictionairy of
intrinsic defaults. They keys must be strings, and the values must be
appropriate for the
\samp
{
\%
()s
}
string interpolation. Note that
\var
{__
name
__}
is always an intrinsic default; it
'
s value is the
\var
{__
name
__}
is always an intrinsic default; its value is the
section name.
\end{classdesc}
...
...
@@ -70,6 +70,12 @@ Exception raised when errors occur attempting to parse a file.
\end{excdesc}
\begin{seealso}
\seemodule
{
shlex
}{
Support for a creating
\UNIX
{}
shell-like
minilanguages which can be used as an alternate format
for application configuration files.
}
\end{seealso}
\subsection
{
ConfigParser Objects
\label
{
ConfigParser-objects
}}
\class
{
ConfigParser
}
instances have the following methods:
...
...
Doc/lib/libftplib.tex
Dosyayı görüntüle @
184e8360
...
...
@@ -70,6 +70,10 @@ not begin with a digit in the range 1--5.
\begin{seealso}
\seemodule
{
netrc
}{
Parser for the
\file
{
.netrc
}
file format. The file
\file
{
.netrc
}
is typically used by FTP clients to
load user authentication information before prompting
the user.
}
\seetext
{
The file
\file
{
Tools/scripts/ftpmirror.py
}
\index
{
ftpmirror.py
}
in the Python source distribution is a script that can mirror
FTP sites, or portions thereof, using the
\module
{
ftplib
}
module.
...
...
Doc/lib/libshlex.tex
Dosyayı görüntüle @
184e8360
% Module and documentation by Eric S. Raymond, 21 Dec 1998
\section
{
\module
{
shlex
}
---
Simple lexical analysis
.
}
Simple lexical analysis
}
\declaremodule
{
standard
}{
shlex
}
\modulesynopsis
{
Simple lexical analysis for
\UNIX
{}
shell-like languages.
}
...
...
@@ -21,9 +21,15 @@ object. The initialization argument, if present, specifies where to
read characters from. It must be a file- or stream-like object with
\method
{
read()
}
and
\method
{
readline()
}
methods. If no argument is given,
input will be taken from
\code
{
sys.stdin
}
.
\end{classdesc}
\begin{seealso}
\seemodule
{
ConfigParser
}{
Parser for configuration files similar to the
Windows
\file
{
.ini
}
files.
}
\end{seealso}
\subsection
{
shlex Objects
\label
{
shlex-objects
}}
A
\class
{
shlex
}
instance has the following methods:
...
...
@@ -64,7 +70,7 @@ carriage-return.
\begin{memberdesc}
{
quotes
}
Characters that will be considered string quotes. The token
accumulates until the same quote is encountered again (thus, different
quote types protect each other as in the sh
a
ll.) By default, includes
quote types protect each other as in the sh
e
ll.) By default, includes
\ASCII
{}
single and double quotes.
\end{memberdesc}
...
...
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