diff options
author | Victor Stinner <vstinner@python.org> | 2024-03-27 22:10:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 22:10:14 (GMT) |
commit | 7aa89bc43e0bcf49eee5a39b5a7ba8f996f20d00 (patch) | |
tree | a20c8fd78315498e96f5772112a91b9c8c2fd4ec /Python/brc.c | |
parent | 669ef49c7d42f35da6f7ee280102353b9b37f83e (diff) | |
download | cpython-7aa89bc43e0bcf49eee5a39b5a7ba8f996f20d00.zip cpython-7aa89bc43e0bcf49eee5a39b5a7ba8f996f20d00.tar.gz cpython-7aa89bc43e0bcf49eee5a39b5a7ba8f996f20d00.tar.bz2 |
gh-113317: Change how Argument Clinic lists converters (#116853)
* Add a new create_parser_namespace() function for
PythonParser to pass objects to executed code.
* In run_clinic(), list converters using 'converters' and
'return_converters' dictionarties.
* test_clinic: add 'object()' return converter.
* Use also create_parser_namespace() in eval_ast_expr().
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Diffstat (limited to 'Python/brc.c')
0 files changed, 0 insertions, 0 deletions