mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
Previously it was done unconditionally for all Python versions in StarAnnotator. I moved the corresponding checks from there to CompatibilityVisitor so that it was clear in which particular versions it's mandatory. GitOrigin-RevId: 205de8768431445baed98aecd5f9820efe28d281
11 lines
181 B
Python
11 lines
181 B
Python
1, *x
|
|
(1, *x)
|
|
[1, *x]
|
|
{1, *x}
|
|
|
|
if <error descr="Can't use starred expression here">*x</error>:
|
|
pass
|
|
|
|
1 + (<error descr="Can't use starred expression here">*x</error>)
|
|
1 + (*x,)
|