[clang] [libclang/python] Fix some type errors, add type annotations (PR #98745)

Jannick Kremer via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 13 06:32:20 PDT 2024


================
@@ -66,46 +66,77 @@
 
 import collections.abc
 import os
+import sys
----------------
DeinAlptraum wrote:

This is used for `sys.stdout.flush()` in this file, and leads to a type error. I don't know why this isn't already imported

https://github.com/llvm/llvm-project/pull/98745


More information about the cfe-commits mailing list