Logo
Explore Help
Register Sign In
MDS/openide
Watch 1
Star 0
Fork 0
mirror of https://gitflic.ru/project/openide/openide.git synced 2026-09-01 05:18:06 +07:00
Code Issues Packages Projects Releases Wiki Activity
Files
261
openide/python/testData/inspections/PyStringFormatInspection/IndexElementWithPackedReferenceExpr.py
T
Valentina Kiryushkina 0ab6f65d37 Fix test for packing generalization introduced in python 3.5: remove unreal test cases, fix false positives for packed reference and call expressions
2017-05-15 14:37:57 +03:00

3 lines
99 B
Python
Raw Permalink Blame History

old_dict = {1: "b"}
"{d[2]}".format(d={**old_dict, 2: "a"})
"{d[1]}".format(d={**old_dict, 2: "a"})
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.1 Page: 6308ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API