Skip to content

Commit 96a4f24

Browse files
chore(internal): fix lint error on Python 3.14
1 parent b37387e commit 96a4f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kernel/_utils/_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def is_union(tp: Optional[Type[Any]]) -> bool:
2626
else:
2727
import types
2828

29-
return tp is Union or tp is types.UnionType
29+
return tp is Union or tp is types.UnionType # type: ignore[comparison-overlap]
3030

3131

3232
def is_typeddict(tp: Type[Any]) -> bool:

0 commit comments

Comments
 (0)