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
f192aeb9
Kaydet (Commit)
f192aeb9
authored
Eki 19, 2018
tarafından
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
Kaydeden (comit)
Serhiy Storchaka
Eki 19, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873)
üst
dd13c88b
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
17 deletions
+17
-17
_hashopenssl.c
Modules/_hashopenssl.c
+1
-1
md5module.c.h
Modules/clinic/md5module.c.h
+2
-2
sha1module.c.h
Modules/clinic/sha1module.c.h
+2
-2
sha256module.c.h
Modules/clinic/sha256module.c.h
+2
-2
sha512module.c.h
Modules/clinic/sha512module.c.h
+2
-2
md5module.c
Modules/md5module.c
+2
-2
sha1module.c
Modules/sha1module.c
+2
-2
sha256module.c
Modules/sha256module.c
+2
-2
sha512module.c
Modules/sha512module.c
+2
-2
No files found.
Modules/_hashopenssl.c
Dosyayı görüntüle @
f192aeb9
...
...
@@ -187,7 +187,7 @@ EVP_copy(EVPobject *self, PyObject *unused)
}
PyDoc_STRVAR
(
EVP_digest__doc__
,
"Return the digest value as a
string of binary data
."
);
"Return the digest value as a
bytes object
."
);
static
PyObject
*
EVP_digest
(
EVPobject
*
self
,
PyObject
*
unused
)
...
...
Modules/clinic/md5module.c.h
Dosyayı görüntüle @
f192aeb9
...
...
@@ -24,7 +24,7 @@ PyDoc_STRVAR(MD5Type_digest__doc__,
"digest($self, /)
\n
"
"--
\n
"
"
\n
"
"Return the digest value as a
string of binary data
."
);
"Return the digest value as a
bytes object
."
);
#define MD5TYPE_DIGEST_METHODDEF \
{"digest", (PyCFunction)MD5Type_digest, METH_NOARGS, MD5Type_digest__doc__},
...
...
@@ -94,4 +94,4 @@ _md5_md5(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kw
exit:
return
return_value
;
}
/*[clinic end generated code: output=
50a95670913de8fb
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
72aa003c308e26cf
input=a9049054013a1b77]*/
Modules/clinic/sha1module.c.h
Dosyayı görüntüle @
f192aeb9
...
...
@@ -24,7 +24,7 @@ PyDoc_STRVAR(SHA1Type_digest__doc__,
"digest($self, /)
\n
"
"--
\n
"
"
\n
"
"Return the digest value as a
string of binary data
."
);
"Return the digest value as a
bytes object
."
);
#define SHA1TYPE_DIGEST_METHODDEF \
{"digest", (PyCFunction)SHA1Type_digest, METH_NOARGS, SHA1Type_digest__doc__},
...
...
@@ -94,4 +94,4 @@ _sha1_sha1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *
exit:
return
return_value
;
}
/*[clinic end generated code: output=
9ee2aec7bb2b9e72
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
81d2424c0585bfd4
input=a9049054013a1b77]*/
Modules/clinic/sha256module.c.h
Dosyayı görüntüle @
f192aeb9
...
...
@@ -24,7 +24,7 @@ PyDoc_STRVAR(SHA256Type_digest__doc__,
"digest($self, /)
\n
"
"--
\n
"
"
\n
"
"Return the digest value as a
string of binary data
."
);
"Return the digest value as a
bytes object
."
);
#define SHA256TYPE_DIGEST_METHODDEF \
{"digest", (PyCFunction)SHA256Type_digest, METH_NOARGS, SHA256Type_digest__doc__},
...
...
@@ -124,4 +124,4 @@ _sha256_sha224(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObje
exit:
return
return_value
;
}
/*[clinic end generated code: output=
4b90199bc9f7cc88
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
0086286cffcbc31c
input=a9049054013a1b77]*/
Modules/clinic/sha512module.c.h
Dosyayı görüntüle @
f192aeb9
...
...
@@ -24,7 +24,7 @@ PyDoc_STRVAR(SHA512Type_digest__doc__,
"digest($self, /)
\n
"
"--
\n
"
"
\n
"
"Return the digest value as a
string of binary data
."
);
"Return the digest value as a
bytes object
."
);
#define SHA512TYPE_DIGEST_METHODDEF \
{"digest", (PyCFunction)SHA512Type_digest, METH_NOARGS, SHA512Type_digest__doc__},
...
...
@@ -124,4 +124,4 @@ _sha512_sha384(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObje
exit:
return
return_value
;
}
/*[clinic end generated code: output=f
963a543bf3c72e8
input=a9049054013a1b77]*/
/*[clinic end generated code: output=f
cc3306fb6672222
input=a9049054013a1b77]*/
Modules/md5module.c
Dosyayı görüntüle @
f192aeb9
...
...
@@ -361,12 +361,12 @@ MD5Type_copy_impl(MD5object *self)
/*[clinic input]
MD5Type.digest
Return the digest value as a
string of binary data
.
Return the digest value as a
bytes object
.
[clinic start generated code]*/
static
PyObject
*
MD5Type_digest_impl
(
MD5object
*
self
)
/*[clinic end generated code: output=eb691dc4190a07ec input=
7b96e65389412a34
]*/
/*[clinic end generated code: output=eb691dc4190a07ec input=
bc0c4397c2994be6
]*/
{
unsigned
char
digest
[
MD5_DIGESTSIZE
];
struct
md5_state
temp
;
...
...
Modules/sha1module.c
Dosyayı görüntüle @
f192aeb9
...
...
@@ -338,12 +338,12 @@ SHA1Type_copy_impl(SHA1object *self)
/*[clinic input]
SHA1Type.digest
Return the digest value as a
string of binary data
.
Return the digest value as a
bytes object
.
[clinic start generated code]*/
static
PyObject
*
SHA1Type_digest_impl
(
SHA1object
*
self
)
/*[clinic end generated code: output=2f05302a7aa2b5cb input=
205d47e1927fd009
]*/
/*[clinic end generated code: output=2f05302a7aa2b5cb input=
13824b35407444bd
]*/
{
unsigned
char
digest
[
SHA1_DIGESTSIZE
];
struct
sha1_state
temp
;
...
...
Modules/sha256module.c
Dosyayı görüntüle @
f192aeb9
...
...
@@ -428,12 +428,12 @@ SHA256Type_copy_impl(SHAobject *self)
/*[clinic input]
SHA256Type.digest
Return the digest value as a
string of binary data
.
Return the digest value as a
bytes object
.
[clinic start generated code]*/
static
PyObject
*
SHA256Type_digest_impl
(
SHAobject
*
self
)
/*[clinic end generated code: output=46616a5e909fbc3d input=
1fb752e58954157d
]*/
/*[clinic end generated code: output=46616a5e909fbc3d input=
f1f4cfea5cbde35c
]*/
{
unsigned
char
digest
[
SHA_DIGESTSIZE
];
SHAobject
temp
;
...
...
Modules/sha512module.c
Dosyayı görüntüle @
f192aeb9
...
...
@@ -493,12 +493,12 @@ SHA512Type_copy_impl(SHAobject *self)
/*[clinic input]
SHA512Type.digest
Return the digest value as a
string of binary data
.
Return the digest value as a
bytes object
.
[clinic start generated code]*/
static
PyObject
*
SHA512Type_digest_impl
(
SHAobject
*
self
)
/*[clinic end generated code: output=1080bbeeef7dde1b input=
60c2cede9e023018
]*/
/*[clinic end generated code: output=1080bbeeef7dde1b input=
f6470dd359071f4b
]*/
{
unsigned
char
digest
[
SHA_DIGESTSIZE
];
SHAobject
temp
;
...
...
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