[[ ]]の意味について


下記のような[[ ]]はどういう意味でしょうか？

[code]

    [[temp_pred]] = sess.run(prediction, feed_dict={x_data:t, y_target:y_data})
    
[/code]




シーケンスの展開代入です。

[code]

    >>> x, y = 1, 2
    >>> x
    1
    >>> y
    2
    >>> (x, y) = (1, 2)
    >>> x
    1
    >>> y
    2
    >>> [x, y] = (1, 2)
    >>> x
    1
    >>> y
    2
    >>> [x, y] = [1, 2]
    >>> x
    1
    >>> y
    2
    >>> [x, [y]] = [1, [2]]
    >>> x
    1
    >>> y
    2
    >>> [[y]] = [[2]]
    >>> y
    2
    
[/code]




シーケンスの展開代入です。

[code]

    >>> x, y = 1, 2
    >>> x
    1
    >>> y
    2
    >>> (x, y) = (1, 2)
    >>> x
    1
    >>> y
    2
    >>> [x, y] = (1, 2)
    >>> x
    1
    >>> y
    2
    >>> [x, y] = [1, 2]
    >>> x
    1
    >>> y
    2
    >>> [x, [y]] = [1, [2]]
    >>> x
    1
    >>> y
    2
    >>> [[y]] = [[2]]
    >>> y
    2
    
[/code]

