What is " [1] ", in sock.getsockname()[1]? : <p>I was going through socket programming in python and I saw this :</p>

<p>sock.getsockname()[1] , can anyone please explain what is that "[1]" for ?</p>
