mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 21:44:18 +07:00
- refactor platform expand-all folding action - introduce platform folding attribute 'keepExpandedOnFirstCollapseAll' - use 'keepExpandedOnFirstCollapseAll' for Python type annotation regions - add tests for new PyCharm two-step collapse action - add tests for legacy PyCharm two-step expand action GitOrigin-RevId: ad0931b1b64d2ce6dfee52086193f17234fa537e
14 lines
409 B
Python
14 lines
409 B
Python
pyt = (<fold text='...'>(x, y, z) for z in b
|
|
for y in xrange(1, z)
|
|
for x in range(1, y) if x * x + y * y == z * z</fold>)
|
|
|
|
primes = {<fold text='...'>x for x in range(2, 101)
|
|
if all(x % y for y in range(2, min(x, 11)))</fold>}
|
|
|
|
d = {<fold text='...'>n: n ** 2
|
|
for n in range(5)</fold>}
|
|
|
|
|
|
def normal_foldable_element_to_ensure_two_step_folding() :<fold text='...'>
|
|
pass</fold>
|