Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It could be more readable if you use a placeholder variable

  family, _ = socket.peeraddr
Which is more clear to me, but maybe not as much as just using .first


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: