We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d03f89a commit 180dbe7Copy full SHA for 180dbe7
clang/bindings/python/clang/cindex.py
@@ -2199,9 +2199,7 @@ def has_attrs(self) -> bool:
2199
return bool(conf.lib.clang_Cursor_hasAttrs(self))
2200
2201
@staticmethod
2202
- def from_result(
2203
- res: Cursor, arg: Cursor | TranslationUnit | Type
2204
- ) -> Cursor | None:
+ def from_result(res: Cursor, arg: Cursor | TranslationUnit | Type) -> Cursor | None:
2205
assert isinstance(res, Cursor)
2206
# FIXME: There should just be an isNull method.
2207
if res == conf.lib.clang_getNullCursor():
0 commit comments