mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 19:28:58 +07:00
GitOrigin-RevId: e5826372ddfe233656097da774d978c57ee54937
2 lines
94 B
Python
2 lines
94 B
Python
def foo(x):
|
|
some_var = (x.<caret> if hasattr(x, "foo") else 42) if hasattr(x, "bar") else 42 |