2016-11-28 | Paul Boddie | raw annotate files changeset graph | Allow null contexts in retrieved attributes to override accessor contexts. This allows the use of functions as methods by instances. Make sure that methods which cannot be initialised in class structures are assigned with their context intact. |
1 #!/usr/bin/env python 2 3 def new(s=None): 4 pass 5 6 def openssl_md5(s=None): 7 pass 8 9 def openssl_sha1(s=None): 10 pass 11 12 def openssl_sha224(s=None): 13 pass 14 15 def openssl_sha256(s=None): 16 pass 17 18 def openssl_sha384(s=None): 19 pass 20 21 def openssl_sha512(s=None): 22 pass 23 24 # vim: tabstop=4 expandtab shiftwidth=4