[clang] [clang][Python] Apply type annotations to Python (PR #173845)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 12 04:45:30 PST 2026


================
@@ -196,28 +205,26 @@ class TranslationUnitSaveError(Exception):
 
     # Indicates that an unknown error occurred. This typically indicates that
     # I/O failed during save.
-    ERROR_UNKNOWN = 1
+    ERROR_UNKNOWN: int = 1
----------------
Endilll wrote:

Again, who benefits from this additional text that doesn't carry any new information?

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


More information about the cfe-commits mailing list