[clang] [libclang/python] Add typing annotations for the Cursor class (PR #138103)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Thu May 15 23:32:13 PDT 2025
================
@@ -1545,6 +1545,16 @@ class ExceptionSpecificationKind(BaseEnumeration):
### Cursors ###
+# This guard is used to ensure that no operations are possible on null cursors
----------------
Endilll wrote:
Yes, I think documentation on hover is helpful, which doesn't work without docstrings (at least in VS Code with the Python extension from Microsoft):

https://github.com/llvm/llvm-project/pull/138103
More information about the cfe-commits
mailing list