Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/hashlib.py   TrustRouter(Download)
def __get_builtin_constructor(name):
    try:
        if name in ('SHA1', 'sha1'):
            import _sha1
            return _sha1.sha1

src/i/r/ironpython3-HEAD/Src/StdLib/Lib/hashlib.py   ironpython3(Download)
    try:
        if name in ('SHA1', 'sha1'):
            import _sha1
            cache['SHA1'] = cache['sha1'] = _sha1.sha1
        elif name in ('MD5', 'md5'):

src/s/o/Source.Python-HEAD/addons/source-python/Python3/hashlib.py   Source.Python(Download)
def __get_builtin_constructor(name):
    try:
        if name in ('SHA1', 'sha1'):
            import _sha1
            return _sha1.sha1

src/c/p/cpython-HEAD/Lib/hashlib.py   cpython(Download)
    try:
        if name in ('SHA1', 'sha1'):
            import _sha1
            cache['SHA1'] = cache['sha1'] = _sha1.sha1
        elif name in ('MD5', 'md5'):

src/s/t/static-python-HEAD/Lib/hashlib.py   static-python(Download)
def __get_builtin_constructor(name):
    try:
        if name in ('SHA1', 'sha1'):
            import _sha1
            return _sha1.sha1