Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
completion
/
hasattrCompletion
/
hasattrSimpleAnd.py
blob: 66ed55e62a1bba3d62271be8cd23fad5411e7ab2 [
file
]
def
foo
(
x
):
if
hasattr
(
x
,
'foo'
)
and
hasattr
(
x
,
'bar'
):
print
(
x
.<
caret
>)