[issue38984] Value add to the wrong key in a dictionary
Ahmed Ramadan
report at bugs.python.org
Thu Dec 5 22:01:17 EST 2019
Ahmed Ramadan <abdulshafy at gmail.com> added the comment:
It's a bug in your code.
masterInfoDict['id1'][4] and masterInfoDict['val1'][4] point to the same list object ['Si1'], to which 'Si2' and 'Si1' get appended when col1ID='id2'.
----------
nosy: +ramahmed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38984>
_______________________________________
More information about the Python-bugs-list
mailing list