diff options
author | Samuel <samuel@knutsen.co> | 2025-05-05 00:03:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-04 16:03:38 -0700 |
commit | 30840706b029645b9631b92c687834fcced6413e (patch) | |
tree | 62105298aada0abe663cf21269e5dc2b65903688 /Modules/expat/xmltok.c | |
parent | af5799f3056b0eee61fc09587633500a3690e67e (diff) | |
download | cpython-main.tar.gz cpython-main.zip |
In the `ast` documentation for Python:
* https://docs.python.org/3/library/ast.html#ast.Dict
it is made clear that:
> When doing dictionary unpacking using dictionary literals the expression to be expanded goes in the values list, with a `None` at the corresponding position in `keys`.
Hence, `keys` is really a `expr?*` and *not* a `expr*`.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Modules/expat/xmltok.c')
0 files changed, 0 insertions, 0 deletions