mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
chore: partially drop Union typehint
This commit is contained in:
1 parent
51ccdf7caa
commit
e6d3775fd0
2 files changed
+6
-3
No files matched your search
@@ -1,4 +1,4 @@
|
||||
from typing import Union, TYPE_CHECKING
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import gi
|
||||
|
||||
@@ -94,7 +94,7 @@ class Emitter(GObject.GObject):
|
||||
),
|
||||
)
|
||||
def distcalc_ended(
|
||||
self, dist: Union[str, None], context: Union["ServerTab", "NotebookPage"]
|
||||
self, dist: str | None, context: "ServerTab | NotebookPage"
|
||||
) -> None:
|
||||
pass
|
||||
|
||||
|
||||
Reference in new issue
Block a user