https://github.com/Teemperor approved this pull request. This LGTR, even though I wished this code had more type hints. I think it's more important to fix the docs, so I think this can go in as-is. https://github.com/llvm/llvm-project/pull/202780