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 f47dfd6 commit 17b059dCopy full SHA for 17b059d
clang/bindings/python/clang/cindex.py
@@ -2207,9 +2207,7 @@ def has_attrs(self) -> bool:
2207
return bool(conf.lib.clang_Cursor_hasAttrs(self))
2208
2209
@staticmethod
2210
- def from_result(
2211
- res: Cursor, arg: Cursor | TranslationUnit | Type
2212
- ) -> Cursor | None:
+ def from_result(res: Cursor, arg: Cursor | TranslationUnit | Type) -> Cursor | None:
2213
assert isinstance(res, Cursor)
2214
# FIXME: There should just be an isNull method.
2215
if res == conf.lib.clang_getNullCursor():
0 commit comments