def get_response(self, msgid):
        try:
            m = self._responses.pop(msgid)
            assert self._incoming > 0
            self._incoming -= 1
        except KeyError:
            return None
        error, result = m
        return (result, error)
dataset/ETHPy150Open osrg/ryu/ryu/lib/rpc.py/EndPoint.get_response/original