Message394027
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. |
|
Date |
User |
Action |
Args |
2021-05-20 14:40:20 | davidhariri | set | recipients:
+ davidhariri |
2021-05-20 14:40:20 | davidhariri | set | messageid: <1621521620.13.0.853268925141.issue44190@roundup.psfhosted.org> |
2021-05-20 14:40:20 | davidhariri | link | issue44190 messages |
2021-05-20 14:40:20 | davidhariri | create | |
|