gh-113317: Don't use global clinic instance in bad_argument() (#114330) · python/cpython@e14930f · GitHub
Skip to content

Commit e14930f

Browse files
gh-113317: Don't use global clinic instance in bad_argument() (#114330)
Make it possible for a converter to have multiple includes, by collecting them in a list on the converter instance. This implies converter includes are added during template generation, so we have to add them to the clinic instance at the end of the template generation instead of in the beginning.
1 parent 8edc802 commit e14930f

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

Tools/clinic/clinic.py

Lines changed: 11 additions & 12 deletions

0 commit comments

Comments
 (0)