(cnfs)
Internal function.
Internal function.
Internal function .
def _cnfmerge(cnfs):
    """Internal function."""
    if isinstance(cnfs, dict):
        return cnfs
    elif isinstance(cnfs, (type(None), str)):
        return cnfs
    else:
        cnf = {}
        for c in _flatten(cnfs):
            try:
                cnf.update(c)
            except (AttributeError, TypeError) as msg:
                print("_cnfmerge: fallback due to:", msg)
                for k, v in c.items():
                    cnf[k] = v
        return cnf
def _cnfmerge ( cnfs ) : if isinstance ( cnfs , dict ) : return cnfs elif isinstance ( cnfs , ( type ( None ) , str ) ) : return cnfs else : cnf = { } for c in _flatten ( cnfs ) : try : cnf . update ( c ) except ( AttributeError , TypeError ) as msg : print ( "_cnfmerge: fallback due to:" , msg ) for k , v in c . items ( ) : cnf [ k ] = v return cnf