[New-bugs-announce] [issue32135] Dict creation with update will result to NoneType

Martin report at bugs.python.org
Sat Nov 25 17:56:23 EST 2017


New submission from Martin <martin.bendsoe at gmail.com>:

>>> x = {"x":123}.update({"abc":123})
>>> type(x)
<class 'NoneType'>

----------
messages: 306977
nosy: thedemz
priority: normal
severity: normal
status: open
title: Dict creation with update will result to NoneType
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32135>
_______________________________________


More information about the New-bugs-announce mailing list