Staging
v0.5.1
https://github.com/python/cpython
Revision 555ac45b20c299eb5c1efc9c6c76a757bccf4a7e authored by Andrew M. Kuchling on 31 July 2006, 12:39:05 UTC, committed by Andrew M. Kuchling on 31 July 2006, 12:39:05 UTC
Is the explanation of the 'stacklevel' parameter clear?  Please feel free
to edit it.

I don't have LaTeX installed on this machine, so haven't verified that the
markup is correct.  Will check tonight, or maybe the automatic doc build will
tell me.
1 parent 43bae41
Raw File
Tip revision: 555ac45b20c299eb5c1efc9c6c76a757bccf4a7e authored by Andrew M. Kuchling on 31 July 2006, 12:39:05 UTC
Document PyErr_WarnEx. (Bad Neal! No biscuit!)
Tip revision: 555ac45
sha.py
# $Id$
#
#  Copyright (C) 2005   Gregory P. Smith (greg@electricrain.com)
#  Licensed to PSF under a Contributor Agreement.

from hashlib import sha1 as sha
new = sha

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