Sign in
android
/
platform
/
tools
/
idea
/
c810bbf46e7246636afe1d18947a460cedc5d24d
/
.
/
python
/
testData
/
inspections
/
PyUnboundLocalVariableInspection
/
UnboundSwapStrUnicode.py
blob: 090eb744fbeab5408b2df8e12e618ec3600d190b [
file
] [
log
] [
blame
]
def
f
():
bytes
,
str
=
<
warning descr
=
"Local variable 'str' might be referenced before assignment"
>
str
</
warning
>,
unicode
#fail
class
C
(
object
):
bytes
,
str
=
str
,
unicode
#pass
bytes
,
str
=
str
,
unicode
#pass