diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-04-24 21:39:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-24 21:39:54 (GMT) |
commit | 93b7ed7c6b1494f41818fa571b1843ca3dfe1bd1 (patch) | |
tree | b7a68ecc9aa6b2b538586037fba03093c439637b /Python/Python-ast.c | |
parent | 85ec1c2dc67c2a506e847dbe2c3c740e81c3ab9b (diff) | |
download | cpython-93b7ed7c6b1494f41818fa571b1843ca3dfe1bd1.zip cpython-93b7ed7c6b1494f41818fa571b1843ca3dfe1bd1.tar.gz cpython-93b7ed7c6b1494f41818fa571b1843ca3dfe1bd1.tar.bz2 |
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).
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions