Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyStringFormatInspection
/
NewStyleMappingKeyWithSubscriptionRefDictArg.py
blob: 9351104ed97325b18b649c27429726abfe02c4a3 [
file
]
d
=
{
"a"
:
1
}
"{foo[a]}"
.
format
(
foo
=
d
)
"{foo[b]}"
.
format
(
foo
=
d
)
d_num
=
{
1
:
1
}
"{foo[1]}"
.
format
(
foo
=
d_num
)
"{foo[2]}"
.
format
(
foo
=
d_num
)