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.

classification
Title: Dictionary: why is the value not used up?
Type: Stage: resolved
Components: Versions: Python 3.6, Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: PyUser, matrixise
Priority: normal Keywords:

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) * (Python committer) 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) * (Python committer) 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:15adminsetgithub: 81168
2019-05-21 08:28:16matrixisesetmessages: + msg342986
2019-05-21 08:27:23matrixisesetstatus: open -> closed

nosy: + matrixise
messages: + msg342985

resolution: not a bug
stage: resolved
2019-05-21 08:26:26PyUsercreate