Skip to content

Commit a5d081c

Browse files
committed
Remove assert
1 parent 484b385 commit a5d081c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/bindings/python/clang/cindex.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,6 @@ def is_function_inlined(self) -> bool:
23672367
"""
23682368
Check if the function is inlined.
23692369
"""
2370-
assert self.kind == TypeKind.FUNCTIONPROTO
23712370
return conf.lib.clang_Cursor_isFunctionInlined(self) # type: ignore [no-any-return]
23722371

23732372
@cursor_null_guard

0 commit comments

Comments
 (0)