Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyStringFormatInspection
/
Slice.py
blob: a179d40db68e0810baf171421b31808eaf20879d [
file
]
def
foo
(
x
):
return
x
artist
=
foo
(
1
)
print
(
'%s'
%
(
artist
.
lower
()[
0
:
10
]))
unicode_content
=
foo
(
u
"test"
)
assert
isinstance
(
unicode_content
,
unicode
)
print
'%s...'
%
unicode_content
[:
200
]