what does [sock] = func() mean?

Viewed 128

What does this line of code mean, from tornado?

[sock] = netutil.bind_sockets(None, 'localhost', family=socket.AF_INET)

I understand these assignments: list[index] = val, list[index1:index2] = list2, but I've never seen that from Tornado.

2 Answers
Related