def is_proper_module(obj):
    return (inspect.ismodule(obj) and
            obj is sys.modules.get(getattr(obj, '__name__', None)))


#
# Internal helpers
#
Return the attribute dictionary associated with edge (u,v).
dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/dep/objgraph.py/is_proper_module--crossover with--dataset/ETHPy150Open networkx/networkx/networkx/classes/tests/timingclasses.py/TimingGraph.get_edge_data