Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyTypeCheckerInspection
/
BytesSubclassAsStr.py
blob: 0fea8fc023dc392613a31b90b8a72b19897e5633 [
file
] [
log
] [
blame
]
class
String
(
bytes
):
pass
def
foo
(
x
):
"""
:type x: str
"""
s
=
String
(
'hello'
)
foo
(
s
)