mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
Python lexer and parser can split whitespaces and attach them to different parents, so we have to scan backward through consequtive leaf elements to collect all of them. I also added several new tests for various such corner cases.
3 lines
136 B
Python
3 lines
136 B
Python
id = 1 if looooooooooooooooooooooooong_vaaaaaaaaaaaaaaaar == 'loooooooooooooooong_vaaaaaaaaaaaaaaaaaaaaaaaaaalue' else \
|
|
list('foo')[0]
|