remove old undocumented compat interfaces in hashlib and pwd #5881

This commit is contained in:
Benjamin Peterson 2009-05-04 22:25:21 +00:00
parent ec75312eaa
commit e04b627a11
5 changed files with 6 additions and 16 deletions

View file

@ -533,9 +533,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 */
};