- 11 6月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
For python, if users write `a, b = var`, the `__getitem__` method will iterate through 0, 1, 2 ... until `__getitem__` throws an IndexError, then stop. The var[0], var[1] will be given to a, b respectively. If more values are given, the unpack size would cause error. We didn't raise the IndexError in the past and we add statement in `__getitem__` to raise IndexError here to support grammar like `a, b = var` in this PR.
-
- 10 6月, 2021 1 次提交
-
-
由 liym27 提交于
-
- 09 6月, 2021 1 次提交
-
-
由 liym27 提交于
-
- 03 6月, 2021 1 次提交
-
-
由 liym27 提交于
-
- 02 6月, 2021 1 次提交
-
-
由 liym27 提交于
-
- 20 5月, 2021 1 次提交
-
-
由 liym27 提交于
-