def __getitem__(self, index):
        """
        Deprecated accessor for the tunnel name.  Use attributes instead.
        """
        warnings.warn(
            "TunnelAddress.__getitem__ is deprecated since Twisted 14.0.0  "
            "Use attributes instead.", category=DeprecationWarning,
            stacklevel=2)
        return ('TUNTAP', self.name)[index]

        Deprecated accessor for the tunnel name.  Use attributes instead.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/pair/tuntap.py