mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
17 lines
600 B
Python
17 lines
600 B
Python
<warning descr="Dictionary comprehension is not supported in Python 2">{k: v for k, v in stuff}</warning>
|
|
|
|
try:
|
|
pass
|
|
<warning descr="This Python version does not support this syntax">except a as name:
|
|
pass</warning>
|
|
|
|
class A(B):
|
|
def foo(self):
|
|
<warning descr="super() should have arguments in Python 2">super()</warning>
|
|
|
|
<warning descr="This Python version does not support set literal expressions">{1, 2}</warning>
|
|
|
|
<warning descr="Python 2 does not support star expressions">*b</warning>, c = 1, 2, 3, 4, 5
|
|
|
|
if <warning descr="<> is deprecated, use != instead">a <> 2</warning>:
|
|
pass |