This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author davidhariri
Recipients davidhariri
Date 2021-05-20.14:40:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621521620.13.0.853268925141.issue44190@roundup.psfhosted.org>
In-reply-to
Content
In some languages, one may declare a dictionary's key and its value like so:

```
foo = "bar"

my_dict = { foo }
>> { "foo" : "bar" }
```

In Python, one must instead write:

```
foo = "bar"

my_dict = {
    "foo": foo
}
>> { "foo" : "bar" }
```

I humbly suggest this change as a QoL improvement for those who work with dictionaries all day.
History
Date User Action Args
2021-05-20 14:40:20davidharirisetrecipients: + davidhariri
2021-05-20 14:40:20davidharirisetmessageid: <1621521620.13.0.853268925141.issue44190@roundup.psfhosted.org>
2021-05-20 14:40:20davidharirilinkissue44190 messages
2021-05-20 14:40:20davidhariricreate