Skip to content

Commit 1496f7d

Browse files
committed
simpler type annotation
1 parent b5170c0 commit 1496f7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qbpm/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import platform
2-
from collections.abc import Generator
2+
from collections.abc import Iterator
33
from os import environ
44
from pathlib import Path
55
from shutil import which
@@ -40,7 +40,7 @@ def user_config_dir() -> Path:
4040
return Path(BaseDirectory.xdg_config_home) / "qutebrowser"
4141

4242

43-
def installed_menus() -> Generator[str, None, None]:
43+
def installed_menus() -> Iterator[str]:
4444
if platform.system() == "Darwin":
4545
yield "applescript"
4646
if environ.get("WAYLAND_DISPLAY"):

0 commit comments

Comments
 (0)