mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
remove old undocumented compat interfaces in hashlib and pwd #5881
This commit is contained in:
parent
ec75312eaa
commit
e04b627a11
5 changed files with 6 additions and 16 deletions
|
@ -599,9 +599,6 @@ static PyGetSetDef SHA_getseters[] = {
|
|||
|
||||
static PyMemberDef SHA_members[] = {
|
||||
{"digest_size", T_INT, offsetof(SHAobject, digestsize), READONLY, NULL},
|
||||
/* the old md5 and sha modules support 'digest_size' as in PEP 247.
|
||||
* the old sha module also supported 'digestsize'. ugh. */
|
||||
{"digestsize", T_INT, offsetof(SHAobject, digestsize), READONLY, NULL},
|
||||
{NULL} /* Sentinel */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue