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
22a9dc88
Kaydet (Commit)
22a9dc88
authored
Nis 01, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #1459631: documnent zlib.Decompress.flush() length parameter.
üst
dcfdae7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
libzlib.tex
Doc/lib/libzlib.tex
+4
-1
zlibmodule.c
Modules/zlibmodule.c
+3
-1
No files found.
Doc/lib/libzlib.tex
Dosyayı görüntüle @
22a9dc88
...
@@ -166,11 +166,14 @@ continue. If \var{max_length} is not supplied then the whole input is
...
@@ -166,11 +166,14 @@ continue. If \var{max_length} is not supplied then the whole input is
decompressed, and
\member
{
unconsumed
_
tail
}
is an empty string.
decompressed, and
\member
{
unconsumed
_
tail
}
is an empty string.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
[Decompress]
{
flush
}{}
\begin{methoddesc}
[Decompress]
{
flush
}{
\optional
{
length
}
}
All pending input is processed, and a string containing the remaining
All pending input is processed, and a string containing the remaining
uncompressed output is returned. After calling
\method
{
flush()
}
, the
uncompressed output is returned. After calling
\method
{
flush()
}
, the
\method
{
decompress()
}
method cannot be called again; the only realistic
\method
{
decompress()
}
method cannot be called again; the only realistic
action is to delete the object.
action is to delete the object.
The optional parameter
\var
{
length
}
sets the initial size of the
output buffer.
\end{methoddesc}
\end{methoddesc}
\begin{seealso}
\begin{seealso}
...
...
Modules/zlibmodule.c
Dosyayı görüntüle @
22a9dc88
...
@@ -654,7 +654,9 @@ PyZlib_flush(compobject *self, PyObject *args)
...
@@ -654,7 +654,9 @@ PyZlib_flush(compobject *self, PyObject *args)
}
}
PyDoc_STRVAR
(
decomp_flush__doc__
,
PyDoc_STRVAR
(
decomp_flush__doc__
,
"flush() -- Return a string containing any remaining decompressed data.
\n
"
"flush( [length] ) -- Return a string containing any remaining
\n
"
"decompressed data. length, if given, is the initial size of the
\n
"
"output buffer.
\n
"
"
\n
"
"
\n
"
"The decompressor object can no longer be used after this call."
);
"The decompressor object can no longer be used after this call."
);
...
...
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