sequence unpacking的意思|示意

美 / / 英 / /

序列拆封


sequence unpacking的网络常见释义

序列解包 序列解包(sequence unpacking)或可选代解包-将多个值的序列解开,然后放到变量的序列中。

sequence unpacking相关例句

This is called, appropriately enough, sequence unpacking.

这个调用被称为序列拆封非常合适。

Sequence unpacking requires the list of variables on the left to have the same number of elements as the length of the sequence.

序列拆封要求左侧的变量数目与序列的元素个数相同。

Sequence unpacking requires that the list of variables on the left have the same number of elements as the length of the sequence.

序列拆封要求左侧的变量数目与序列的元素个数相同。

There is a small bit of asymmetry here: packing multiple values always creates a tuple, and unpacking works for any sequence.

这里有一点不对称:封装多重参数通常会创建一个元组,而拆封操作可以作用于任何序列。