Skip to content

Commit 180dbe7

Browse files
committed
Fix formatting
1 parent d03f89a commit 180dbe7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/bindings/python/clang/cindex.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2199,9 +2199,7 @@ def has_attrs(self) -> bool:
21992199
return bool(conf.lib.clang_Cursor_hasAttrs(self))
22002200

22012201
@staticmethod
2202-
def from_result(
2203-
res: Cursor, arg: Cursor | TranslationUnit | Type
2204-
) -> Cursor | None:
2202+
def from_result(res: Cursor, arg: Cursor | TranslationUnit | Type) -> Cursor | None:
22052203
assert isinstance(res, Cursor)
22062204
# FIXME: There should just be an isNull method.
22072205
if res == conf.lib.clang_getNullCursor():

0 commit comments

Comments
 (0)