New submission from AL3X_69 <[email protected]>:
When a dict is updated with update(), instead of return None, it will return
the updated dict.
example:
>>> a = {"test": 1}
>>> b = {"type": 2}
>>> c = a.update(b)
>>> print(c)
{"test": 1, "type": 1}
----------
messages: 366703
nosy: AL3X_69
priority: normal
severity: normal
status: open
title: dict.update() return the updated dict instead of None
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40319>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com