Closed dismine closed 4 years ago
W0631: Using possibly undefined loop variable 'index' (undefined-loop-variable)
https://github.com/vstinner/hachoir/blob/4403b0c662c6d4107e7d66d530b6afc87464d8dd/hachoir/regex/regex.py#L506
This is a false positive - new cannot be set unless the loop runs once.
No problem ;-)
W0631: Using possibly undefined loop variable 'index' (undefined-loop-variable)
https://github.com/vstinner/hachoir/blob/4403b0c662c6d4107e7d66d530b6afc87464d8dd/hachoir/regex/regex.py#L506