这三个表达式似乎是等价的:
a,b,c = line.split() (a,b,c) = line.split() [a,b,c] = line.split()
他们编译成相同的代码吗?
哪一个更pythonic?
python destructuring
destructuring ×1
python ×1