[clang] [libclang/python] Add typing annotations for the Cursor class (PR #138103)
Jannick Kremer via cfe-commits
cfe-commits at lists.llvm.org
Fri May 16 00:07:18 PDT 2025
================
@@ -77,6 +77,8 @@ Clang Frontend Potentially Breaking Changes
Clang Python Bindings Potentially Breaking Changes
--------------------------------------------------
+- Calling methods on null-cursors now leads to an exception.
+- ``Cursor.from_location`` now returns ``None`` instead of a null-cursor.
----------------
DeinAlptraum wrote:
Both done
https://github.com/llvm/llvm-project/pull/138103
More information about the cfe-commits
mailing list