python中的 node, depth = que.popleft() 是什么意思

我在leetcode中看到的代码


class Solution:
    def minDepth(self, root: TreeNode) -> int:
        if not root:
            return 0

        que = collections.deque([(root, 1)])
        while que:
            node, depth = que.popleft()
            if not node.left and not node.right:
                return depth
            if node.left:
                que.append((node.left, depth + 1))
            if node.right:
                que.append((node.right, depth + 1))

        return 0

其中 node, depth = que.popleft()是什么意思,我没有在网上搜索到