@property
    def port(self):
        netloc = self.netloc.split('@')[-1].split(']')[-1]
        if netloc in ':':
            port = netloc.split(':')[1]
            return int(port, 10)
        else:
            return None
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/urlparse.py/ResultMixin.port/swapped operands of `in`