fix Issue 10179 - Tuple assignment should not cause "has no effect" error even if the length is zero
Merge pull request #2084 from 9rnsr/fix10179

[enh] Issue 10179 - Tuple assignment should not cause "has no effect" error even if the length is zero