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
b0cb42df
Kaydet (Commit)
b0cb42df
authored
Şub 10, 2016
tarafından
Martin Panter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue 26243: Forgot to update zlib doc strings in Argument Clinic
üst
1fe0d13d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
zlibmodule.c.h
Modules/clinic/zlibmodule.c.h
+2
-2
zlibmodule.c
Modules/zlibmodule.c
+1
-1
No files found.
Modules/clinic/zlibmodule.c.h
Dosyayı görüntüle @
b0cb42df
...
...
@@ -11,7 +11,7 @@ PyDoc_STRVAR(zlib_compress__doc__,
" data
\n
"
" Binary data to be compressed.
\n
"
" level
\n
"
" Compression level, in 0-9."
);
" Compression level, in 0-9
or -1
."
);
#define ZLIB_COMPRESS_METHODDEF \
{"compress", (PyCFunction)zlib_compress, METH_VARARGS|METH_KEYWORDS, zlib_compress__doc__},
...
...
@@ -440,4 +440,4 @@ exit:
#ifndef ZLIB_COMPRESS_COPY_METHODDEF
#define ZLIB_COMPRESS_COPY_METHODDEF
#endif
/* !defined(ZLIB_COMPRESS_COPY_METHODDEF) */
/*[clinic end generated code: output=
3c96b58b923c1273
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
e6f3b79e051ecc35
input=a9049054013a1b77]*/
Modules/zlibmodule.c
Dosyayı görüntüle @
b0cb42df
...
...
@@ -147,7 +147,7 @@ Returns a bytes object containing compressed data.
static
PyObject
*
zlib_compress_impl
(
PyModuleDef
*
module
,
Py_buffer
*
data
,
int
level
)
/*[clinic end generated code: output=1b97589132b203b4 input=
671c615a4b2267da
]*/
/*[clinic end generated code: output=1b97589132b203b4 input=
abed30f4fa14e213
]*/
{
PyObject
*
ReturnVal
=
NULL
;
Byte
*
input
,
*
output
=
NULL
;
...
...
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