def init_fakemod_dict(fm,adict=None):

    dct = {}
    # It seems pydoc (and perhaps others) needs any module instance to
    # implement a __nonzero__ method, so we add it if missing:
    dct.setdefault('__nonzero__',lambda : True)
    dct.setdefault('__file__',__file__)

    if adict is not None:
        dct.update(adict)

    # Hard assignment of the object's __dict__.  This is nasty but deliberate.
    fm.__dict__.clear()
    fm.__dict__.update(dct)
Configures the Port-Channel min-links value
dataset/ETHPy150Open ipython/ipython-py3k/IPython/core/fakemodule.py/init_fakemod_dict--crossover with--dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py/PortchannelInterface.set_minimum_links