Skip to content

Commit 77999ce

Browse files
committed
put back bool cast
1 parent cfa988e commit 77999ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/bindings/python/clang/cindex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,7 @@ def is_function_inlined(self) -> bool:
23672367
"""
23682368
Check if the function is inlined.
23692369
"""
2370-
return conf.lib.clang_Cursor_isFunctionInlined(self) # type: ignore [no-any-return]
2370+
return bool(conf.lib.clang_Cursor_isFunctionInlined(self))
23712371

23722372
@cursor_null_guard
23732373
def has_attrs(self) -> bool:

0 commit comments

Comments
 (0)