

def _wrap_function(self, obj):
    if hasattr(obj, 'func_code'):
        _code = obj.func_code
    else:
        _code = obj.__code__
    return _code

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/openpyxl-2.3.0-b2/openpyxl/compat/__init__.py deprecated._wrap_function/original