Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyUnresolvedReferencesInspection
/
typeAssertions.py
blob: 6d16b1c3874398759bd338c34acd9789adc7982e [
file
] [
log
] [
blame
]
# PY-2308
def
f
(
x
):
if
isinstance
(
x
,
list
):
x
=
[]
elif
isinstance
(
x
,
dict
):
return
x
.
items
()
#pass