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
6f6d7b93
Kaydet (Commit)
6f6d7b93
authored
Agu 31, 2003
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF bug #797853: Small problems with the csv module's documentation
üst
2f3e5483
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
libcsv.tex
Doc/lib/libcsv.tex
+6
-6
No files found.
Doc/lib/libcsv.tex
Dosyayı görüntüle @
6f6d7b93
...
@@ -45,7 +45,7 @@ form using the \class{DictReader} and \class{DictWriter} classes.
...
@@ -45,7 +45,7 @@ form using the \class{DictReader} and \class{DictWriter} classes.
\end{seealso}
\end{seealso}
\subsection
{
Module Contents
}
\subsection
{
Module Contents
\label
{
csv-contents
}
}
The
\module
{
csv
}
module defines the following functions:
The
\module
{
csv
}
module defines the following functions:
...
@@ -129,7 +129,7 @@ the value of \var{restval} will be used as the default value. If the row
...
@@ -129,7 +129,7 @@ the value of \var{restval} will be used as the default value. If the row
read has more fields than the fieldnames sequence, the remaining data is
read has more fields than the fieldnames sequence, the remaining data is
added as a sequence keyed by the value of
\var
{
restkey
}
. If the row read
added as a sequence keyed by the value of
\var
{
restkey
}
. If the row read
has fewer fields than the fieldnames sequence, the remaining keys take the
has fewer fields than the fieldnames sequence, the remaining keys take the
value of the optiona
\var
{
restval
}
parameter. All other parameters are
value of the optiona
l
\var
{
restval
}
parameter. All other parameters are
interpreted as for
\class
{
reader
}
objects.
interpreted as for
\class
{
reader
}
objects.
\end{classdesc}
\end{classdesc}
...
@@ -218,7 +218,7 @@ or \class{writer} objects, the programmer can specify a string or a subclass
...
@@ -218,7 +218,7 @@ or \class{writer} objects, the programmer can specify a string or a subclass
of the
\class
{
Dialect
}
class as the dialect parameter. In addition to, or
of the
\class
{
Dialect
}
class as the dialect parameter. In addition to, or
instead of, the
\var
{
dialect
}
parameter, the programmer can also specify
instead of, the
\var
{
dialect
}
parameter, the programmer can also specify
individual formatting parameters, which have the same names as the
individual formatting parameters, which have the same names as the
attributes defined
above
for the
\class
{
Dialect
}
class.
attributes defined
below
for the
\class
{
Dialect
}
class.
Dialects support the following attributes:
Dialects support the following attributes:
...
@@ -251,8 +251,8 @@ or which start with the \var{quotechar}. It defaults to \code{'"'}.
...
@@ -251,8 +251,8 @@ or which start with the \var{quotechar}. It defaults to \code{'"'}.
\begin{memberdesc}
[Dialect]
{
quoting
}
\begin{memberdesc}
[Dialect]
{
quoting
}
Controls when quotes should be generated by the writer. It can take on any
Controls when quotes should be generated by the writer. It can take on any
of the
\constant
{
QUOTE
_
*
}
constants
defined below and defaults to
of the
\constant
{
QUOTE
_
*
}
constants
(see section~
\ref
{
csv-contents
}
)
\constant
{
QUOTE
_
MINIMAL
}
.
and defaults to
\constant
{
QUOTE
_
MINIMAL
}
.
\end{memberdesc}
\end{memberdesc}
\begin{memberdesc}
[Dialect]
{
skipinitialspace
}
\begin{memberdesc}
[Dialect]
{
skipinitialspace
}
...
@@ -264,7 +264,7 @@ is ignored. The default is \constant{False}.
...
@@ -264,7 +264,7 @@ is ignored. The default is \constant{False}.
\subsection
{
Reader Objects
}
\subsection
{
Reader Objects
}
Reader objects (
\class
{
DictReader
}
instances and objects returned by
Reader objects (
\class
{
DictReader
}
instances and objects returned by
the
\function
{
reader()
}
function) have the following public methods:
the
\function
{
reader()
}
function) have the following public methods:
\begin{methoddesc}
[csv reader]
{
next
}{}
\begin{methoddesc}
[csv reader]
{
next
}{}
Return the next row of the reader's iterable object as a list, parsed
Return the next row of the reader's iterable object as a list, parsed
...
...
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