SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72153 0 0 Python

gh-108191: Add support of positional argument in SimpleNamespace constructor (GH-108195)

SimpleNamespace({'a': 1, 'b': 2}) and SimpleNamespace([('a', 1), ('b', 2)])
are now the same as SimpleNamespace(a=1, b=2).
S
Serhiy Storchaka committed
93b7ed7c6b1494f41818fa571b1843ca3dfe1bd1
Parent: 85ec1c2
Committed by GitHub <noreply@github.com> on 4/24/2024, 9:39:54 PM