Tuple item assignment is prohibited
Reports assignments to a tuple item.
Example:
t = ('red', 'blue', 'green', 'white')
t[3] = 'black'
A quick-fix offers to replace the tuple with a list.
Inspection Details | |
---|---|
Available in: | DataSpell 2023.3, PyCharm 2023.3 |
Plugin: | Python Community Edition, 233.SNAPSHOT |
Last modified: 13 July 2023