[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:19:46 PDT 2024


================
@@ -43,7 +43,7 @@
 Most object information is exposed using properties, when the underlying API
 call is efficient.
 """
-from __future__ import absolute_import, division, print_function
----------------
DeinAlptraum wrote:

All of these are already activated by default since Python 3.0. `annotations` is necessary though, for some of the type annotation features used in this PR

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


More information about the cfe-commits mailing list