def nsdecls(*nspfxs):
    nsdecls = ''
    for nspfx in nspfxs:
        nsdecls += ' xmlns:%s="%s"' % (nspfx, nsmap[nspfx])
    return nsdecls
Attempt to adapt an object to a given protocol.
dataset/ETHPy150Open scanny/python-pptx/tests/unitutil/cxml.py/nsdecls--crossover with--dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_manager.py/AdaptationManager.adapt