blob: 3836048cadc3d13946611a6b6c35734490a2e66e [file]
def foo(x):
some_var = (x.<caret> if hasattr(x, "foo") else 42) if hasattr(x, "bar") else 42