summaryrefslogtreecommitdiffstats
path: root/Python/ast_opt.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-03-27 22:10:14 (GMT)
committerGitHub <noreply@github.com>2024-03-27 22:10:14 (GMT)
commit7aa89bc43e0bcf49eee5a39b5a7ba8f996f20d00 (patch)
treea20c8fd78315498e96f5772112a91b9c8c2fd4ec /Python/ast_opt.c
parent669ef49c7d42f35da6f7ee280102353b9b37f83e (diff)
downloadcpython-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/ast_opt.c')
0 files changed, 0 insertions, 0 deletions