Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyTypeCheckerInspection
/
StructUnpackPy3
/
a.py
blob: 292b18e5d7f530e435acee7664db6082033e3922 [
file
] [
log
] [
blame
]
from
struct
import
Struct
s
=
Struct
(
'c'
)
s
.
unpack
(<
warning descr
=
"Expected type 'bytes', got 'str' instead"
>
'\x00'
</
warning
>)
s
.
unpack
(
b
'\x00'
)