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
8b605eb0
Kaydet (Commit)
8b605eb0
authored
Haz 23, 1994
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
documented writelines()
üst
a84ec519
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
6 deletions
+24
-6
libtypes.tex
Doc/lib/libtypes.tex
+12
-3
libtypes.tex
Doc/libtypes.tex
+12
-3
No files found.
Doc/lib/libtypes.tex
Dosyayı görüntüle @
8b605eb0
...
...
@@ -294,9 +294,12 @@ operator (modulo) with a string left argument interprets this string
as a C sprintf format string to be applied to the right argument, and
returns the string resulting from this formatting operation.
Unless the format string requires exactly one argument, the right
argument should be a tuple of the correct size. The following format
characters are understood:
\%
, c, s, i, d, u, o, x, X, e, E, f, g, G.
The right argument should be a tuple with one item for each argument
required by the format string; if the string requires a single
argument, the right argument may also be a single non-tuple object.
%
\footnote
{
A tuple object in this case should be a singleton.
}
The following format characters are understood:
\%
, c, s, i, d, u, o, x, X, e, E, f, g, G.
Width and precision may be a * to specify that an integer argument
specifies the actual width or precision. The flag characters -, +,
blank,
\#
and 0 are understood. The size specifiers h, l or L may be
...
...
@@ -605,6 +608,12 @@ Files have the following methods:
Write a string to the file. There is no return value.
\end{funcdesc}
\begin{funcdesc}
{
writelines
}{
list
}
Write a list of strings to the file. There is no return value.
(The name is intended to match
\code
{
readlines
}
;
\code
{
writelines
}
does not add line separators.)
\end{funcdesc}
\subsubsection
{
Internal Objects.
}
(See the Python Reference Manual for these.)
...
...
Doc/libtypes.tex
Dosyayı görüntüle @
8b605eb0
...
...
@@ -294,9 +294,12 @@ operator (modulo) with a string left argument interprets this string
as a C sprintf format string to be applied to the right argument, and
returns the string resulting from this formatting operation.
Unless the format string requires exactly one argument, the right
argument should be a tuple of the correct size. The following format
characters are understood:
\%
, c, s, i, d, u, o, x, X, e, E, f, g, G.
The right argument should be a tuple with one item for each argument
required by the format string; if the string requires a single
argument, the right argument may also be a single non-tuple object.
%
\footnote
{
A tuple object in this case should be a singleton.
}
The following format characters are understood:
\%
, c, s, i, d, u, o, x, X, e, E, f, g, G.
Width and precision may be a * to specify that an integer argument
specifies the actual width or precision. The flag characters -, +,
blank,
\#
and 0 are understood. The size specifiers h, l or L may be
...
...
@@ -605,6 +608,12 @@ Files have the following methods:
Write a string to the file. There is no return value.
\end{funcdesc}
\begin{funcdesc}
{
writelines
}{
list
}
Write a list of strings to the file. There is no return value.
(The name is intended to match
\code
{
readlines
}
;
\code
{
writelines
}
does not add line separators.)
\end{funcdesc}
\subsubsection
{
Internal Objects.
}
(See the Python Reference Manual for these.)
...
...
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