def intCol(elt, attrName, default=None):
    try:
        return int(elt.get(attrName, default))
    except (__HOLE__, ValueError):
        return default
dataset/ETHPy150Open Arelle/Arelle/arelle/examples/SaveTableToExelle.py/intCol