https://github.com/python/cpython
Raw File
Tip revision: 2ea64e7d8395292f0cf2e8beb9941c7f904dba12 authored by Gus Goulart on 29 October 2018, 11:49:52 UTC
bpo-27741: Better wording for datetime.strptime() (GH-9994)
Tip revision: 2ea64e7
md5.py
# $Id$
#
#  Copyright (C) 2005   Gregory P. Smith (greg@krypto.org)
#  Licensed to PSF under a Contributor Agreement.

import warnings
warnings.warn("the md5 module is deprecated; use hashlib instead",
                DeprecationWarning, 2)

from hashlib import md5
new = md5

blocksize = 1        # legacy value (wrong in any useful sense)
digest_size = 16
back to top