def getClass(obj):
    if hasattr(obj, '__class__'):
        return obj.__class__
    else:
        return type(obj)

# class graph nonsense

# I should really have a better name for this...
Stores the given :class:`FlashScope` object in the session.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/reflect.py/getClass--crossover with--dataset/ETHPy150Open danielfm/django-flash/src/djangoflash/storage/session.py/FlashStorageClass.set