Sindbad~EG File Manager

Current Path : /proc/self/root/opt/imh-python/lib/python3.9/unittest/test/testmock/
Upload File :
Current File : //proc/self/root/opt/imh-python/lib/python3.9/unittest/test/testmock/support.py

target = {'foo': 'FOO'}


def is_instance(obj, klass):
    """Version of is_instance that doesn't access __class__"""
    return issubclass(type(obj), klass)


class SomeClass(object):
    class_attribute = None

    def wibble(self): pass


class X(object):
    pass

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists