Issue 36987: Dictionary: why is the value not used up?
Created on 2019-05-21 08:26 by PyUser, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg342984 - (view) | Author: Aprila Hijriyan (PyUser) | Date: 2019-05-21 08:26 | |
Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information.
>>> d = {"a": 1, "b": 2}
>>> d ["c"] = d
>>> d ["c"] {'a': 1, 'c': {...}, 'b': 2}
>>> d ["c"] ["c"] {'a': 1, 'c': {...}, 'b': 2}
why does the key value 'c' have a 'c' key in it?
|
|||
| msg342985 - (view) | Author: Stéphane Wirtel (matrixise) * ![]() |
Date: 2019-05-21 08:27 | |
Hi Aprila, I think you should use the mailing list for the Python users. Have a nice day, |
|||
| msg342986 - (view) | Author: Stéphane Wirtel (matrixise) * ![]() |
Date: 2019-05-21 08:28 | |
Here is the mailing list for the python users. https://mail.python.org/mailman/listinfo/python-list |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:15 | admin | set | github: 81168 |
| 2019-05-21 08:28:16 | matrixise | set | messages: + msg342986 |
| 2019-05-21 08:27:23 | matrixise | set | status: open -> closed nosy:
+ matrixise resolution: not a bug |
| 2019-05-21 08:26:26 | PyUser | create | |
