This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Unbalanced tuple unpack gets incorrect type #403
Open
Description
Only x
should be an int
, but y
is being shown as one too. This will technically raise a ValueError ("not enough values to unpack"), but we shouldn't show any completion on y (which would be misleading).
Likely related is this:
(x, *y) = (1,)
Completing on y
should tell you that it's a list
, but we show nothing.
Found in #334.