Skip to content

Commit 936d1f3

Browse files
Pranav-Agarwal0612brenns10
authored andcommitted
Union syntax changed to support int and str
1 parent abbe364 commit 936d1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drgn_tools/deadlock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def from_object(cls, object: Object):
3434
def __init__(
3535
self,
3636
name: str,
37-
identifier: Union[int | str] = "",
37+
identifier: Union[int, str] = "",
3838
address: int = 0,
3939
):
4040
self.name: str = f"{name}{str(identifier)}"

0 commit comments

Comments
 (0)