mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 03:20:56 +07:00
Support and, or, <=, > operators in version checks. GitOrigin-RevId: 5006e88b0f7935d0bf0841dfd5fad5c371e8ff12
10 lines
293 B
Python
10 lines
293 B
Python
import sys
|
|
|
|
if True:
|
|
if sys.version_info >= (3,):
|
|
if sys.version_info >= (3, 10) and sys.version_info < (3, 12):
|
|
foo = 23
|
|
if sys.version_info < (3, 11) and (sys.version_info < (3, 5) or sys.version_info > (3, 7)):
|
|
buz = 23
|
|
else:
|
|
bar = -1 |