def _flatten(implements, include_None=0):

    try:
        r = implements.flattened()
    except __HOLE__:
        if implements is None:
            r=()
        else:
            r = Declaration(implements).flattened()

    if not include_None:
        return r

    r = list(r)
    r.append(None)
    return r
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/zope/zope/interface/_flatten.py/_flatten