Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyStringFormatInspection
/
NewStyleMappingKeyWithSubscriptionRefArgs.py
blob: d564c293ade85a1c3702c75b3507ca47e4bc5db3 [
file
]
list
=
[
1
,
2
,
3
]
"{foo[1]}"
.
format
(
foo
=
list
)
"{foo[3]}"
.
format
(
foo
=
list
)
tuple
=
(
1
,
2
,
3
)
"{foo[1]}"
.
format
(
foo
=
tuple
)
"{foo[3]}"
.
format
(
foo
=
tuple
)