Skip to content

Commit 41b7247

Browse files
committed
Fix formatting
1 parent 65ad7a8 commit 41b7247

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
@@ -2207,9 +2207,7 @@ def has_attrs(self) -> bool:
22072207
return bool(conf.lib.clang_Cursor_hasAttrs(self))
22082208

22092209
@staticmethod
2210-
def from_result(
2211-
res: Cursor, arg: Cursor | TranslationUnit | Type
2212-
) -> Cursor | None:
2210+
def from_result(res: Cursor, arg: Cursor | TranslationUnit | Type) -> Cursor | None:
22132211
assert isinstance(res, Cursor)
22142212
# FIXME: There should just be an isNull method.
22152213
if res == conf.lib.clang_getNullCursor():

0 commit comments

Comments
 (0)